I've fixed the crashes, it was an encoding problem (I was converting incorrectly). But, I'm still curious about what is legal text and what is not. I've noticed that '&' is converted by the XML classes to & when writing XML -- so it is it valid to write non-ASCII in the XML document if the XML classes are accepting it?

John

On Jun 26, 2006, at 4:56 PM, John Balestrieri wrote:

I'm seeing some crashes with the XML classes when I try to save some non-ASCII (>127) characters. I'm converting this text to UTF-8, but am still getting crashes.

I'd like to know if this is not allowed by the XML spec (or the implementation Rb uses)? I'm also seeing inconsistent crashes: This application is giving me trouble, but i have another one that writes out XML containing text bytes 32 through 255 without any problems.

John

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to