Re: why are and apostroph not escaped in attributes ?

2006-07-27 Thread Maarten Bosteels
From http://www.w3.org/TR/REC-xml/ The ampersand character () and the left angle bracket () MUST NOT appear in their literal form, except when used as markup delimiters, or within a comment, a processing instruction, or a CDATA section. If they are needed elsewhere, they

RE: why are and apostroph not escaped in attributes ?

2006-07-27 Thread Radu Preotiuc-Pietro
Hm, I think you mean XMLBeans is not doing the MUST, for compatibility, be escaped using either gt; or a character reference when it appears in the string ]] in content, when that string is not marking the end of a CDATA section part, right? But the rest is done as per spec. Radu -Original

RE: why are and apostroph not escaped in attributes ?

2006-07-27 Thread Wing Yew Poon
Maarten, I believe you are correct that xmlbeans 2.0.0 did not escape the '' in ]] when it's not the end of a CDATA section. This was fixed in 2.1.0. See http://issues.apache.org/jira/browse/XMLBEANS-192. Frank, since you obviously have looked at xmlbeans src, take a look at