Date: Mon, 10 Aug 2009 09:18:49 -0300 From: =?ISO-8859-1?Q?Adalberto_Gon=E7alves?= <adalberto@bsd.com.br> To: gnome@freebsd.org Subject: Problem with libxml2 Message-ID: <85fc4e3c0908100518w7cb763abqdc1e9db27d8f3f4f@mail.gmail.com>
index | next in thread | raw e-mail
Hello, I'm sorry contacting directly you, but I'm not sure where to go to.
I've got a problem with LIBXML. It seens it's not parsing the regular
I have the following type in the .XSD:
<xs:simpleType name="TString">
<xs:annotation>
<xs:documentation> Tipo string genérico</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[!-˙]{1}[ -˙]{0,}[!-˙]{1}|[!-˙]{1}"/>
</xs:restriction>
</xs:simpleType>
And I can't assign a string with 2 characters. It's allowed 1, 3 or
more. But as far as I can see, the expression allows 2. The erros are:
Error 1839: [facet 'pattern'] The value 'XX' is not accepted by the
pattern
Error 1824: 'XX' is not a valid value of the local atomic type.
I'd appreciate any help on how to solve this or the right place to
report the problem.
Thank you very much!
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85fc4e3c0908100518w7cb763abqdc1e9db27d8f3f4f>
