xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?
- From: "Michael Kay" <mike AT saxonica.com>
- To: "'Wolfgang Hoschek'" <whoschek AT lbl.gov>, <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?
- Date: Thu, 28 Jul 2005 10:23:50 +0100
In XML 1.0 no C0 characters other than x9, xA, or xD are permitted.
In XML 1.1 all C0 characters other than X0 are permitted. A concession,
apparently, to people still writing in archaic programming languages that
treat 0 as a string terminator...
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: xom-interest-bounces AT lists.ibiblio.org
> [mailto:xom-interest-bounces AT lists.ibiblio.org] On Behalf Of
> Wolfgang Hoschek
> Sent: 28 July 2005 09:15
> To: xom-interest AT lists.ibiblio.org
> Subject: [XOM-interest] Is XML Text or CDATA that includes
> the zerocharacter legal?
>
> Is it legal to have XML Text or CDATA that includes the zero
> character?
> For example, is this legal?
>
> char c = (char)0;
> new Text(String.valueOf(c));
>
> XOM's Verifier seems to say it's legal, whereas the Xerces and Saxon
> method XMLChar.isContent() suggest it's not legal.
>
> Further, am I right in that a zero character must not appear in a
> surrogate?
>
> Any advice or clarification? Thanks,
> Wolfgang.
> _______________________________________________
> XOM-interest mailing list
> XOM-interest AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/xom-interest
>
-
[XOM-interest] Is XML Text or CDATA that includes the zero character legal?,
Wolfgang Hoschek, 07/28/2005
- Re: [XOM-interest] Is XML Text or CDATA that includes the zero character legal?, Wolfgang Hoschek, 07/28/2005
-
Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?,
Michael Kay, 07/28/2005
-
Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?,
John Cowan, 07/28/2005
-
Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?,
Wolfgang Hoschek, 07/28/2005
-
Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?,
Michael Kay, 07/28/2005
-
Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?,
John.Cowan, 07/28/2005
-
Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?,
Michael Kay, 07/28/2005
- Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?, Wolfgang Hoschek, 07/28/2005
- Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?, John.Cowan, 07/29/2005
-
Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?,
Michael Kay, 07/28/2005
-
Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?,
Elliotte Harold, 07/29/2005
- Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?, Michael Kay, 07/29/2005
-
Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?,
John.Cowan, 07/28/2005
-
Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?,
Michael Kay, 07/28/2005
-
Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?,
Wolfgang Hoschek, 07/28/2005
-
Re: [XOM-interest] Is XML Text or CDATA that includes the zerocharacter legal?,
John Cowan, 07/28/2005
- Re: [XOM-interest] Is XML Text or CDATA that includes the zero character legal?, John Cowan, 07/28/2005
Archive powered by MHonArc 2.6.24.