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>
next in thread | raw e-mail | index | archive | help
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=3D"TString"> <xs:annotation> <xs:documentation> Tipo string gen=E9rico</xs:documentation> </xs:annotation> <xs:restriction base=3D"xs:string"> <xs:whiteSpace value=3D"preserve"/> <xs:pattern value=3D"[!-=FF]{1}[ -=FF]{0,}[!-=FF]{1}|[!-=FF]{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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85fc4e3c0908100518w7cb763abqdc1e9db27d8f3f4f>