Re: org.apache.xmlrpc.XmlWriter emits invalid XML

2002-08-21 Thread John Wilson
- Original Message - From: "Adam Megacz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 19, 2002 11:27 PM Subject: Re: org.apache.xmlrpc.XmlWriter emits invalid XML [snip] > behavior -- there is no way to send non-ASCII characters within

Re: org.apache.xmlrpc.XmlWriter emits invalid XML

2002-08-20 Thread Adam Megacz
Daniel Rall <[EMAIL PROTECTED]> writes: > > Personally, I would advocate John's approach, combined with support > > for the element from the XMC draft: > Thanks for the offer. I went ahead and just changed the code to throw > an XmlRpcException (it's really annoying that that is a checked > ex

Re: org.apache.xmlrpc.XmlWriter emits invalid XML

2002-08-19 Thread John Wilson
- Original Message - From: "Daniel Rall" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 19, 2002 11:05 PM Subject: Re: org.apache.xmlrpc.XmlWriter emits invalid XML [snip] > > The production you quote is applied after any numeric characte

Re: org.apache.xmlrpc.XmlWriter emits invalid XML

2002-08-19 Thread Adam Megacz
> > These characters are not allowed even if they are encoded as &#; > > The only correct behaviour is to refuse to handle data containing these > > characters. > So rather than entity encoding the characters, an XmlRpcException of > some sort should be thrown? Ah, the joys of the self-cont

Re: org.apache.xmlrpc.XmlWriter emits invalid XML

2002-08-19 Thread John Wilson
- Original Message - From: "Adam Megacz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 18, 2002 1:54 AM Subject: org.apache.xmlrpc.XmlWriter emits invalid XML > > According to XML 1.0, a CDATA section may contain only: > > [2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF