xmerl xsd validation error

jan_kowalski6669 <[email protected]>
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <[email protected]>
This validates ok:
<element name="foo">
    <complexType>
        <sequence>
            <element name="somename" minOccurs="1" maxOccurs="10" type="someType"></element>
        </sequence>
    </complexType>
    <unique name="bar">
        <selector xpath="somename"></selector>
        <field xpath="."></field>
    </unique>
</element>
But this not:
<element name="foo" type="someComplexName">
    <unique name="bar">
        <selector xpath="somename"></selector>
        <field xpath="."></field>
    </unique>
</element>
<complexType name="someComplexName">
    <sequence>
        <element name="somename" minOccurs="1" maxOccurs="10" type="someType"></element>
    </sequence>
</complexType>
Those xsd's are equal, but not for xmerl.

_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.