David Zhuo wrote: > the test is performed with the same XML and schema and the only > different is the version of xmllint used. Build version 20620 > successfully validate the XML while version 20623 does not. > > the sample XML is attached. can someone tell me if this is a bug or not? >
I tried it with same version on windows and it fails. Here is the output: C:\projs\xml_test>xmllint --noout --version --schema http://www.youtube.com/xsd/metadata_0.2.xsd test.xml xmllint: using libxml version 20623CVS2717 compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 FTP HTTP DTDValid HTML Legacy C14N Cat alog XPath XPointer XInclude Iconv Unicode Regexps Automata Expr Schemas Schematron Modules Debug test.xml:18: element keywords: Schemas validity error : Element '{http://search.yahoo.com/mrss}keywords': [fac et 'pattern'] The value 'London,Sci fi,Aliens' is not accepted by the pattern '(.*,){2,}.*'. test.xml:18: element keywords: Schemas validity error : Element '{http://search.yahoo.com/mrss}keywords': 'L,S ci fi,Aliens' is not a valid value of the local atomic type. test.xml fails to validate I also validated with msxml 6 and it checks out fine so I would assume it is bug related to the way processing of xs:pattern element in schema. -- Darko Miletic _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
