Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


whether the given schema is non-deterministic or not

From: Bharath Kumar Reddy T <bharathkr@------.--->
To: xmlschema-dev@--.---
Date: 2/18/2009 9:43:00 PM
Hi..
 
Can you please tell me whether the following schema is non-deterministic or
not??
According to spec. two element particles if they are overlap and if thery
both are under choice/ALL model group, then that schema is
non-deterministic. 
But in the following schema, one e1 is under choice and other e1 is under
sequence. So, the schema is not a non-deterministic.
 
Please reply me whether i am correct or not.
<?xml version="1.0"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<xsd:element name="doc" type="foo"/>

            <xsd:complexType name="foo">

                <xsd:choice>

                        <xsd:element name="e1" type="xsd:string"/>

                    <xsd:group ref="group"/>

                </xsd:choice>

        </xsd:complexType>

<xsd:group name="group">

    <xsd:sequence>

        <xsd:element name="e1" type="xsd:string"/>

    </xsd:sequence>

</xsd:group>

</xsd:schema>

 

Thanks and Regards,

Bharath



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent