GNOME Bugzilla – Bug 542634
small typo in an libxml2 error message
Last modified: 2008-08-26 07:31:57 UTC
Please describe the problem: Missing space in an error message. Steps to reproduce: Execute xmllint --auto --schema test-schema.xsd where test-schema.xsd contains: <?xml version="1.0"?> <info>abc</info> vog@flap:~/work/m-click/AIXM/test-aixm/bug-1$ cat x.xsd <?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:simpleType name="IntegerList"> <xs:list itemType="xs:string"/> </xs:simpleType> <xs:complexType name="IntegerListComplex"> <xs:simpleContent> <xs:extension base="IntegerList"/> </xs:simpleContent> </xs:complexType> <xs:complexType name="IntegerListComplexLength2"> <xs:simpleContent> <xs:restriction base="IntegerListComplex"/> </xs:simpleContent> </xs:complexType> </xs:schema> Actual results: schema.xsd:16: ... A type, derived by list or union, must havethe simple ur-type definition as base type, not 'IntegerList'. ... Expected results: schema.xsd:16: ... A type, derived by list or union, must have the simple ur-type definition as base type, not 'IntegerList'. ... Does this happen every time? yes Other information: The output should contain "have the" instead of "havethe".
Created attachment 114428 [details] [review] fixes the typo This patch fixes the typo.
Okay, trivial, fixed in my tree, i will commit to SVN soon, thanks ! Daniel