[xml] MinGW build regression on 2.6.32 ?



Hi everybody,

I have just pust a bug (http://bugzilla.gnome.org/show_bug.cgi?id=534347) , trying to answer to my question:

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 ?
Thanks a lot for your support !



CrÃez votre adresse Ãlectronique prÃnom nom laposte net
1 Go d'espace de stockage, anti-spam et anti-virus intÃgrÃs.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]