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

Re: Confused about instance validation

From: Boris Kolpackov <boris@codesynthesis.com>
Date: Fri, 12 Feb 2010 14:41:23 +0200
To: Pete Cordell <petexmldev@codalogic.com>
Cc: xmlschema-dev@w3.org
Message-ID: <boris.20100212143953@codesynthesis.com>
Hi Pete,

Pete Cordell <petexmldev@codalogic.com> writes:

>     <xs:complexType name="MyType"/>
>
> However, I would have thought that MyType is effectively xs:anyType which 
> allows an attribute wildcard with any namespace and lax processing.

I am pretty sure MyType has empty content which disallows any text,
elements, or attributes.

Boris

-- 
Boris Kolpackov, Code Synthesis        http://codesynthesis.com/~boris/blog
Open-source XML data binding for C++   http://codesynthesis.com/products/xsd
XML data binding for embedded systems  http://codesynthesis.com/products/xsde
Command line interface to C++ compiler http://codesynthesis.com/projects/cli
Received on Friday, 12 February 2010 12:41:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:55 UTC