You know, though I wrote that code, I cannot remember how it would react if
you did this. It depends on whether the character validity checking is
pre-expansion or post-expansion. If its pre-expansion, you'd be ok, because
the converted char would would just get turned into Unicode chars
internally, though you'd have to be sure to use an output encoding that
could handle it. If the checking is post-expansion, then doing this wouldn't
help, since it would just expand the character refs and then do the validity
checking on them and reject them as non-XML chars.

--------------------------
Dean Roddey
The Charmed Quark Controller
Charmed Quark Software
[EMAIL PROTECTED]
http://www.charmedquark.com

"If it don't have a control port, don't buy it!"


----- Original Message -----
From: "Samar Lotia" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 21, 2002 2:01 PM
Subject: RE: C0 control characters - U+0000 through U+001F


> Can you use XML's &#xx; notation to represent the characters?
>
> Samar Lotia
>
> -----Original Message-----
> From: Thomas Bentley (Thom) [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 21, 2002 07:10
> To: [EMAIL PROTECTED]
> Subject: C0 control characters - U+0000 through U+001F
> Importance: High
>
>
> I have existing data that contains these ASCII control characters and I
> need to represent them in XML.  Xerces complains about them (because they
> are less the 0x20), but I need to represent them in a standard way so they
> can be recreated at a later time, correctly.
>
> Has anyone solved this one?
>
> Regards,
> Thom Bentley
> Messaging and Collaboration, IBM Corp
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to