Re: Confused about instance validation

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