xml element tags modified when 1st letter of attribute typed
Posted: Thu Jul 24, 2008 6:53 am
I suspect this is a bug (Oxygen/eclipse 9.3.0)
Using a (DITA) dtd, I type "<" and select a valid XML element to insert.
With the cursor at the end of the element name and before the ">", I type a space and then the first letter of a legal attribute. This results in the closing element tag being modified.
e.g.
Type "<li" and select "link".
<link></link> is inserted in the document.
With cursor at ^: <link^>, I type <space>h to select the href attribute.
The href attribute is selected and inserted, but the closing tag changes to </hlink> - thus:
<link href=""></hlink>
The same problem occurs when simply selecting an attribute from the list, but when the first letter in the attribute value is typed.
Nick
Using a (DITA) dtd, I type "<" and select a valid XML element to insert.
With the cursor at the end of the element name and before the ">", I type a space and then the first letter of a legal attribute. This results in the closing element tag being modified.
e.g.
Type "<li" and select "link".
<link></link> is inserted in the document.
With cursor at ^: <link^>, I type <space>h to select the href attribute.
The href attribute is selected and inserted, but the closing tag changes to </hlink> - thus:
<link href=""></hlink>
The same problem occurs when simply selecting an attribute from the list, but when the first letter in the attribute value is typed.
Nick