W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > April 2009

RE: [closed] Re: Test err-c0016-001.xml and xs:boolean

From: <Toman_Vojtech@emc.com>
Date: Thu, 9 Apr 2009 10:21:01 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870F272DFB@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>
> > But "1" is an acceptable lexical value for "true" according 
> to W3C XML
> > Schema so either the test is wrong or we're being more restrictive
> > than the spec currently supports.
> >
> > I'm inclined to say that we should accept whatever XML 
> Schema accepts,
> > just because that's easier to explain and no harder to implement.
> > According to that interpretation, it's the test that's incorrect.
> 
> There was general agreement, so I've fixed the test.
> 

The section 7.3 (Serialization Options) states the following:

"In order to be consistent with the rest of this specification, boolean
values for the serialization parameters use 'true' and 'false' where the
serialization specification uses 'yes' and 'no'."

Shall we support values '1' and '0' here as well?

Regards,
Vojtech
Received on Thursday, 9 April 2009 14:22:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 April 2009 14:22:23 GMT