W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2006

Re: Nillable on element ref .... XERCES: ERROR vs XSV: Legal ... which is correct?

From: Sandy Gao <sandygao@ca.ibm.com>
Date: Fri, 1 Sep 2006 09:24:36 -0400
To: "Costello, Roger L." <costello@mitre.org>
Cc: xmlschema-dev@w3.org
Message-ID: <OFF5C2AA18.8D500A0E-ON852571DC.00489BE8-852571DC.0049AB86@ca.ibm.com>
I believe your example is illegal. You can take a look at clause 2.2 in 
the following constraint.

http://www.w3.org/TR/xmlschema-1/#src-element

Thanks,
Sandy Gao
XML Parser Development, IBM Canada
(1-905) 413-3255
sandygao@ca.ibm.com


xmlschema-dev-request@w3.org wrote on 08/31/2006 12:28:50 PM:

> 
> Hi Folks,
> 
> XERCES says this is illegal: 
> 
> <element ref="Title" nillable="true"/>
> 
> XERCES gives this error message: Attribute 'nillable' cannot appear in
> element 'element'
> 
> XSV says it's legal.
> 
> Who's correct?  /Roger
> 
Received on Friday, 1 September 2006 13:24:47 GMT

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