Page 1 of 1

% notation shown as unexpected text

Posted: Mon Jul 14, 2003 3:00 pm
by Thomas Raddatz
Hello,

I am evaluating oXygen 2.0.2 and I wonder why the % notation used in a DTD is shown as unexpected text?

Example:
<!ENTITY % wert SYSTEM "Wert.dtd">
%wert;

The "%wert" value is shown in yellow which is assigned to "unexpected text" in Preferences => Colors => DTD.

Regards,

Thomas Raddatz

Posted: Mon Jul 14, 2003 8:08 pm
by george
Hi Thomas,

That is a bug, I will add an entry in bugzilla also for improving the DTD highlighting support.

Thank you,
George

Posted: Wed Jul 16, 2003 5:56 pm
by sorin_ristache
Hello,

The bug with parameter entities is now fixed and the syntax coloring for DTD documents was enhanced: oXygen is able to detect element types (ELEMENT, ATTLIST, ENTITY), attribute types (#IMPLIED, #REQUIRED) and other keywords (PUBLIC, EMPTY, ANY, NMTOKEN, etc.). See the screenshot.

Image