Re: [xml-dev] DTD element type "ANY" vs. XML Schema element type "anyType"

From
<>
To
Date
2005-02-20T17:26:33Z
ID
<>
Thread
Re: [xml-dev] DTD element type "ANY" vs. XML Schema element type "anyType"
In article <> you write:

>"It is completely unconstrained and equivalent to the ANY keyword in
>DTDs, but in XML Schema it is known as the anyType."

The schema type anyType is the most general complex type.  It's
similar to ANY in DTDs but is not meant to be precisely equivalent.
As well as not requiring that child elements be declared, it allows
any attribute, which is also something you can't do in DTDs.

If you want to allow any declared element, use a wildcard with
process-contents="strict".

-- Richard