W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2005

SV: SV: SV: empty elements and xsd:string

From: Bryan Rasmussen <brs@itst.dk>
Date: Tue, 22 Feb 2005 09:01:59 +0100
Message-ID: <D45A5694803BE943BA46F9A7262BF83D123659@its42.itst.local>
To: "'ht@inf.ed.ac.uk'" <ht@inf.ed.ac.uk>
Cc: xmlschema-dev@w3.org


>Are you suggesting that the empty string is not a string, or rather
>that it should not have been a member of xs:string?  I think that
>would violate many more expectations than including it, as the REC
>does.
I was saying that my expectation was that an empty element did not have any
content, string or otherwise

>Or are you suggesting that the Infoset is wrong in failing to
>distinguish the second and third 'hi' elements above?
no, because they are according to the xml spec the same. they are empty.
Received on Tuesday, 22 February 2005 08:07:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:49 GMT