PDA

View Full Version : Commenting a DTD


bluephoenix
06-10-2003, 11:53 PM
I would like to be able to comment my DTD's similar to the way the W3C does their DTDs, as in this example:
<!ENTITY % head.misc "SCRIPT|STYLE|META|LINK|OBJECT" -- repeatable head elements -->

However, inserting comments within a declaration errors out on me; instead I have to write:
<!-- repeatable head elements -->
<!ENTITY % head.misc "SCRIPT|STYLE|META|LINK|OBJECT" >

How can they "get away with it" and not me? Is there something I'm not doing correctly?

Thanks,

Alex Vincent
06-11-2003, 12:27 AM
Hm. I'm not sure if their definition is correct. Might want to ask them about that on their mailing list.