After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 534347 - MinGW build regression on 2.6.32 ?
MinGW build regression on 2.6.32 ?
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: general
2.6.31
Other Windows
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-22 13:43 UTC by Bruce BARDOU
Modified: 2017-09-07 18:14 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Bruce BARDOU 2008-05-22 13:43:17 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 ?