[erlang-bugs] xmerl xsd validation error
Anthony Ramine
n.oxyde@REDACTED
Mon Jun 9 17:12:25 CEST 2014
Validate how?
Could you give a sample of an XML file to match against these? You didn’t provide a definition for someType either.
--
Anthony Ramine
Le 21 mai 2014 à 16:34, jan_kowalski6669 <jan_kowalski6669@REDACTED> a écrit :
> 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
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
More information about the erlang-bugs
mailing list