How options of processContents for an ANY element works ?
I need to use an ANY element to store ANY content like XML, XHTML. The following XML document is an example:
<?xml version="1.0" encoding="iso-8859-1" ?>
simples
Hi Peter, how are you?
I?m fine.
simples
If I define a Schema with processContents = “skip”, in ANY element I can store it, but, what is the options Skip,Lax and Strict ?
I use the following schema:
<?xml version = "1.0" encoding = "UTF-8"?>
<xs:schema xmlns:xs = “XML Schema” xmlns:tsd = “http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition”>
xs:annotation
xs:appinfo
<tsd:schemaInfo name = “Schema_ANY”>
<tsd:collection name = “Collection_ANY”></tsd:collection>
<tsd:doctype name = “DocANY”>
tsd:logical
tsd:contentclosed</tsd:content>
</tsd:logical>
</tsd:doctype>
</tsd:schemaInfo>
</xs:appinfo>
</xs:annotation>
<xs:element name = “DocANY”>
xs:complexType
xs:sequence
<xs:element name = “SIMPLE1” type = “xs:string”></xs:element>
<xs:any processContents = “skip”></xs:any>
<xs:element name = “SIMPLE2” type = “xs:string”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>