Hi All,
I am using the SCMPrint sample program to get the schema information of
the following schema.
I am using xsParticle->getWildcardTerm()->getProcessContents() to get
the process content of the 'any' element in xsd. processContents on
line #12 is lax but it is returning me strict. 

Please let me know why this is happening?
I have pasted my schema below    
*********Schema***********
    
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
targetNamespace="http://xsdtesting"; xmlns:x="http://xsdtesting";
elementFormDefault="qualified">
        <xsd:element name="doc">
                <xsd:complexType>
                        <xsd:sequence>
                                <xsd:element name="elem" type="x:any"
minOccurs="0"
maxOccurs="100"/>
                        </xsd:sequence>
                </xsd:complexType>
        </xsd:element>
        <xsd:complexType name="any">
                <xsd:choice>
                        <xsd:any processContents="lax" namespace="foo
bar ##targetNamespace"
minOccurs="0" maxOccurs="100"/>
                </xsd:choice>
        </xsd:complexType>
        <xsd:element name="foo"/>
</xsd:schema> 
*********Schema End ***********

Thanks.
Regards,
Umesh


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to