W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2008

using multiple namespaces in one element

From: Andreas Peter <info@minimag.de>
Date: Wed, 09 Jul 2008 22:47:37 +0200
Message-ID: <487523E9.3070303@minimag.de>
To: XML Schema List <xmlschema-dev@w3.org>

Hello list users,

I have an element which should contain elements from MathML. The problem 
is when I include an MathML example into the instance document the 
parser says that the prefix mml is not bounded. MathML should only be 
possible inside of the mathphrase element.

    <xs:element name="mathphrase">
        <xs:complexType>
            <xs:choice>
                <xs:any namespace="http://www.w3.org/1998/Math/MathML" 
minOccurs="0" maxOccurs="unbounded"/>
            </xs:choice>
        </xs:complexType>
    </xs:element>

How can I include the whole MathML namespace into my schema?

I am thankful for every hint,

Andreas
Received on Wednesday, 9 July 2008 20:48:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:05 GMT