DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18772>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18772

[XML 1.1] - Control character literals cannot appear in comments, PIs, and CDATA 
sections.





------- Additional Comments From [EMAIL PROTECTED]  2003-07-23 21:50 -------
Fixing this one should probably wait until the next draft of XML 1.1. A planned 
change would allow control characters to appear unescaped if they occur in 
internal entities.

http://lists.w3.org/Archives/Public/www-xml-blueberry-comments/2003Jun/0007

It looks like the following would become well-formed:

<?xml version="1.1" encoding="US-ASCII"?>
<!DOCTYPE root [
 <!ENTITY aComment "<!-- Control Char: &#x01; -->">
 <!ELEMENT root ANY>
]>
<root>&aComment;</root>

If that document becomes well-formed, aside from the fact the user might not 
even want a DOCTYPE, it'll make DOM serialization more difficult. As it stands, 
the serializer would have to create internal entities, as well as generate non-
conflicting names for them.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to