[erlang-bugs] xmerl xsd validation error

jan_kowalski6669 jan_kowalski6669@REDACTED
Wed May 21 16:34:15 CEST 2014


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140521/0c0814c4/attachment.htm>


More information about the erlang-bugs mailing list