[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 3 basic XML questions on: non-determism, reserved symbols,and xml:la
Eric Bohlman wrote: > >">" must be escaped when it follows "]]" and is character data, not markup > >indicating the end of a CDATA section. This is supposedly for (SGML?) > > Nope. There's no way to escape a ">" in that situation, because CDATA sections aren't parsed for > entity references or character references. "]]>" in a CDATA section means character data > consisting of two left square brackets, an ampersand, the two letters "g" and "t", and a semicolon. Well, you misread, and I also didn't fully qualify my statement. ">" must be escaped when it follows "]]" and is character data (i.e., when it is not the markup that indicates the end of a CDATA section), and when it is not actually in a CDATA section. (I forgot that last part). http://www.w3.org/TR/REC-xml#syntax is quite clear on this. - Mike _____________________________________________________________________________ mike j. brown, software engineer at | xml/xslt: http://skew.org/xml/ webb.net in denver, colorado, USA | personal: http://hyperreal.org/~mike/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|