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 542634 - small typo in an libxml2 error message
small typo in an libxml2 error message
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
git master
Other All
: Normal minor
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-12 09:41 UTC by Volker Diels-Grabsch
Modified: 2008-08-26 07:31 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
fixes the typo (551 bytes, patch)
2008-07-12 09:42 UTC, Volker Diels-Grabsch
none Details | Review

Description Volker Diels-Grabsch 2008-07-12 09:41:11 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".
Comment 1 Volker Diels-Grabsch 2008-07-12 09:42:10 UTC
Created attachment 114428 [details] [review]
fixes the typo

This patch fixes the typo.
Comment 2 Daniel Veillard 2008-08-26 07:31:57 UTC
Okay, trivial, fixed in my tree, i will commit to SVN soon,

  thanks !

Daniel