Xsd Any Processcontents

Xsd Any Processcontents



8/30/2017  · Allow elements from a specific namespace with strict validation. You must import the schemas that may appear as an element. If you do not, validation will fail because the element is not declared.


5/27/2016  · Your requirement runs afoul of Unique Particle Attribution under XSD 1.0. By default xs:any has processContents=strict . See processContents strict vs lax vs skip for xsd:any for an explanation of the various values for processContents .


7 rows  · processContents: Optional. Specifies how the XML processor should handle validation .


processContents. Optional. Specifies how the XML processor should handle validation against the elements specified by this any element. Can be set to one of the following: strict – the XML processor must obtain the schema for the required namespaces and validate the elements (this is default), The any > element enables us to extend the XML document with elements not specified by the schema. The following example is a fragment from an XML schema called family.xsd. It shows a declaration for the person element. By using the any> element we can extend (after ) the content of person with any element:

Advertiser