Re: Extension of xs:simpleContent

Kevin Braun <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Message-ID <[email protected]>
Sorry, I got ahead of myself.  It's the fact that under XSD 1.1 the 
content type is empty, combined with the rules at 
http://www.w3.org/TR/xmlschema11-1/#sec-cos-ct-extends, that makes the 
extension (and the schema) invalid in the first place.  So, it wouldn't 
really be right to have the validation error on the XML (since the 
schema isn't valid in the first place.)

On 11/17/2010 1:39 PM, Kevin Braun wrote:
> Hi,
>
> Under XSD 1.0, I believe the validation error is not correct.  Rule 
> 3.2.1 of "Complex Type Definition with complex content" applies, so 
> that the {content type}would be xs:double.
> (http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/structures.html#declare-type). 
>
>
> Under XSD 1.1, the parallel part of the recommendation 
> (http://www.w3.org/TR/xmlschema11-1/#dcl.ctd.ctcc.common) leads to a 
> content type of empty.  In that case, the validation error would be 
> correct.
>
> Regards,
> Kevin
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.