On Wed, 14 Mar 2012 13:33:59 -0700, Will Thompson <[email protected]> wrote:
> It's my understanding of the spec that during lax validation of a > document where the root element doesn't have a definition in the schema, > it will recursively check children and attempt to validate the ones that > are defined. It seems to skip validation for this scenario on my > document. > > The main schema is no-namespace, but it imports two namespaced schemas. > I can successfully validate any individual descendant that has a > corresponding definition, but if I start at any ancestor it returns from > validation without error (I have a <break-me/>-type element in the > schema for testing). > > Is there something I could be missing? > > Thanks, > > Will Lax assessment on the root isn't exactly the same as assessment against a lax wildcard. You are right, if there is no type definition found for a particular element, we don't keep going to look for definitions for the children. For wildcards we will. //Mary _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
