Joseph Kesselman <[EMAIL PROTECTED]> wrote on 05/05/2004 11:27:41 AM:
>
> The > character does not really need to be escaped, since there's no
> situation in which it can be misintepreted.
There is one case where it could be misinterpreted. Xerces now always escapes the '>' character in content because the literal ']]>' (which is also the end delimeter for a CDATA section) is not allowed to appear in character data [1] and also because the serializer doesn't keep track of what the previous characters serialized were.
> The ' character does not need to be escaped when it appears inside a string
> delimited by ".
>
>
> I suspect the effect of changing JVMs is that you're changing which version
> of Xerces you're picking up, since later JVMs carried Xerces inside them. I
> know the Xalan FAQ has a discussion of how to override the Apache code
> packaged with the JVM; I presume the Xerces FAQ has similar advice.
>
> ______________________________________
> Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
> "The world changed profoundly and unpredictably the day Tim Berners Lee
> got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
[1] http://www.w3.org/TR/2004/REC-xml-20040204/#NT-CharData
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]
- DOM Serializer and escaping Jeff Boston
- Re: DOM Serializer and escaping Joseph Kesselman
- Re: DOM Serializer and escaping Michael Glavassevich