GNOME Bugzilla – Bug 534347
MinGW build regression on 2.6.32 ?
Last modified: 2017-09-07 18:14:43 UTC
Hello, I build successfully libxml2 (tag 2.6.32, without modification) via Mingw on my PC, but when I compare results for schema validation, line number disapear ! Zlatkovic version: =================== xmllint.exe --version xmllint.exe: using libxml version 20632 compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv Unicode Regexps Automata Expr Schemas Schematron Modules Debug Zlib My version: =============== D:\buildxml\trunk\win32\bin.mingw\xmllint.exe --version D:\buildxml\trunk\win32\bin.mingw\xmllint.exe: using libxml version 20632 compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv Unicode Regexps Automata Expr Schemas Schematron Modules Debug Zlib In Zlatkovic version, we have the line number: =============================================== xmllint --noout --schema directtax_v3.xsd gb40b.xml gb40b.xml:22769: element BirthCountryCode: Schemas validity error : Element '{ur n:cec.eu.int:taxud:directtax:eusd:v3}BirthCountryCode': [facet 'pattern'] The va lue '13' is not accepted by the pattern '[A-Z]{2}'. gb40b.xml:22769: element BirthCountryCode: Schemas validity error : Element '{ur n:cec.eu.int:taxud:directtax:eusd:v3}BirthCountryCode': '13' is not a valid valu e of the local atomic type. And not in my version: ======================= D:\buildxml\trunk\win32\bin.mingw>xmllint.exe --noout --schema directtax_v3.xsd gb40b.xml Element '{urn:cec.eu.int:taxud:directtax:eusd:v3}BirthCountryCode': [facet 'patt ern'] The value '13' is not accepted by the pattern '[A-Z]{2}'. Element '{urn:cec.eu.int:taxud:directtax:eusd:v3}BirthCountryCode': '13' is not a valid value of the local atomic type. Is there an hidden build option ? Where is the mistake ?