* xmllint stopped working?
@ 2005-07-15 16:05 Mike Maxwell
2005-07-15 16:26 ` Mike Maxwell
2005-07-16 0:26 ` Gerrit P. Haase
0 siblings, 2 replies; 4+ messages in thread
From: Mike Maxwell @ 2005-07-15 16:05 UTC (permalink / raw)
To: cygwin
It appears that xmllint has stopped working in recent CygWin versions.
Specifically, the use of an entity defined in an XML file triggers the
following:
---------
> xmllint --noout --schema ParadigmDefn.xsd TestSuite/Paradigms.Defn.xml
Unimplemented block at
/instsoft/libxml/uploaded/libxml2-2.6.20/xmlschemas.c:23832
Element
'{http://lodl.ldc.upenn.edu/ParadigmDefn.xsd}DisallowedFeatureValues':
Element content is not allowed, because the type definition is simple.
TestSuite/Paradigms.Defn.xml fails to validate
---------
These same files used to pass xmllint fine, and they still do when I run
xmllint on a FreeBSD system.
The xsd in question is too large to post in this msg, but here's a sort
of minimal XML file that will trigger the error:
---------
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE ParadigmDefn
[ <!ENTITY Clitic2 "foobar"> ]
>
<ParadigmDefns xmlns
="http://lodl.ldc.upenn.edu/ParadigmDefn.xsd"
xmlns:xsi
="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://lodl.ldc.upenn.edu
ParadigmDefn.xsd"
Title="Paradigms"
>
<POS category="V0">
<Paradigm name="tenses" constant_features="3sgS-">
<FeatureValueSet >
<DisallowedFeatureValues> &Clitic2;
</DisallowedFeatureValues>
</FeatureValueSet>
</Paradigm>
</POS>
</ParadigmDefns>
---------
I'm not sure of the exact date when this started happening, but I just
noticed it yesterday. I downloaded the latest CygWin update today, and
xmllint is still not working.
BTW, I am inexperienced with XML, so it could be that the above is due
to s.t. that I'm doing wrong--but as I say, at least one other
implementation of xmllint accepts it.
And it could be that there's a better place to report this bug. I
looked for an libxml site on sourceforge, but only found libxml2 (=
libxml++).
--
Mike Maxwell
Linguistic Data Consortium
maxwell@ldc.upenn.edu
"When I get a little money I buy books;
and if any is left I buy food and clothes."
--Erasmus
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: xmllint stopped working?
2005-07-15 16:05 xmllint stopped working? Mike Maxwell
@ 2005-07-15 16:26 ` Mike Maxwell
2005-07-16 0:26 ` Gerrit P. Haase
1 sibling, 0 replies; 4+ messages in thread
From: Mike Maxwell @ 2005-07-15 16:26 UTC (permalink / raw)
To: cygwin
Mike Maxwell wrote:
> ...here's a sort
> of minimal XML file that will trigger the error:
> ...
> <DisallowedFeatureValues> &Clitic2; </DisallowedFeatureValues>
I should have mentioned, if I replace the entity '&Clitic2;' with its
value ('"foobar"'), the xml file passes xmllint just fine.
Mike Maxxwell
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: xmllint stopped working?
2005-07-15 16:05 xmllint stopped working? Mike Maxwell
2005-07-15 16:26 ` Mike Maxwell
@ 2005-07-16 0:26 ` Gerrit P. Haase
2005-07-18 15:40 ` Mike Maxwell
1 sibling, 1 reply; 4+ messages in thread
From: Gerrit P. Haase @ 2005-07-16 0:26 UTC (permalink / raw)
To: Mike Maxwell; +Cc: cygwin
Mike Maxwell wrote:
> It appears that xmllint has stopped working in recent CygWin versions.
Specifically with libxml2-2.6.20 or was it broken before you upgraded?
> Specifically, the use of an entity defined in an XML file triggers the
> following:
Works with libxml2-2.6.16-2 on cygwin-1.5.17-1:
$ xmllint xmllint.problem.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE ParadigmDefn [
<!ENTITY Clitic2 "foobar">
]>
<ParadigmDefns xmlns="http://lodl.ldc.upenn.edu/ParadigmDefn.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://lodl.ldc.upenn.edu ParadigmDefn.xsd"
Title="Paradigms">
<POS category="V0">
<Paradigm name="tenses" constant_features="3sgS-">
<FeatureValueSet>
<DisallowedFeatureValues> &Clitic2;
</DisallowedFeatureValues>
</FeatureValueSet>
</Paradigm>
</POS>
</ParadigmDefns>
> ---------
> > xmllint --noout --schema ParadigmDefn.xsd TestSuite/Paradigms.Defn.xml
> Unimplemented block at
> /instsoft/libxml/uploaded/libxml2-2.6.20/xmlschemas.c:23832
> Element
> '{http://lodl.ldc.upenn.edu/ParadigmDefn.xsd}DisallowedFeatureValues':
> Element content is not allowed, because the type definition is simple.
> TestSuite/Paradigms.Defn.xml fails to validate
> ---------
>
> These same files used to pass xmllint fine, and they still do when I run
> xmllint on a FreeBSD system.
Which version?
> The xsd in question is too large to post in this msg, but here's a sort
> of minimal XML file that will trigger the error:
How do I need to call it to reproduce the error? At least when running
`xmllint Paradigms.Defn.xml` I get no error (Unimplemented block) with
version 2.6.20.
>
> ---------
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <!DOCTYPE ParadigmDefn
> [ <!ENTITY Clitic2 "foobar"> ]
> >
>
> <ParadigmDefns xmlns ="http://lodl.ldc.upenn.edu/ParadigmDefn.xsd"
> xmlns:xsi
> ="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://lodl.ldc.upenn.edu
> ParadigmDefn.xsd"
> Title="Paradigms"
> >
> <POS category="V0">
> <Paradigm name="tenses" constant_features="3sgS-">
> <FeatureValueSet >
> <DisallowedFeatureValues> &Clitic2;
> </DisallowedFeatureValues>
> </FeatureValueSet>
> </Paradigm>
> </POS>
> </ParadigmDefns>
> ---------
>
> I'm not sure of the exact date when this started happening, but I just
> noticed it yesterday. I downloaded the latest CygWin update today, and
> xmllint is still not working.
>
> BTW, I am inexperienced with XML, so it could be that the above is due
> to s.t. that I'm doing wrong--but as I say, at least one other
> implementation of xmllint accepts it.
>
> And it could be that there's a better place to report this bug. I
> looked for an libxml site on sourceforge, but only found libxml2 (=
> libxml++).
Libxml is an GNU project with its own site: http://www.libxml.org
Please ask at the mailing list before reporting it as bug, mailing
list informations are also here: http://www.xmlsoft.org/bugs.html
Listmanager to subscribe: http://mail.gnome.org/mailman/listinfo/xml
Gerrit
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: xmllint stopped working?
2005-07-16 0:26 ` Gerrit P. Haase
@ 2005-07-18 15:40 ` Mike Maxwell
0 siblings, 0 replies; 4+ messages in thread
From: Mike Maxwell @ 2005-07-18 15:40 UTC (permalink / raw)
To: cygwin
(I responded to Gerrit in an email, but I'm copying my response here in
case anyone is interested. I did do a posting to the mailing list
Gerrit suggests at the end of this msg. --MM)
-------- Original Message --------
Subject: Re: xmllint stopped working?
Date: Sat, 16 Jul 2005 08:16:46 -0400
From: Mike Maxwell <maxwell@ldc.upenn.edu>
To: Gerrit P. Haase <gerrit@familiehaase.de>
References: <42D7DF03.4010004@ldc.upenn.edu>
<42D8542B.6060402@familiehaase.de>
Gerrit P. Haase wrote:
> Mike Maxwell wrote:
>> It appears that xmllint has stopped working in recent CygWin
>> versions.
>
> Specifically with libxml2-2.6.20 or was it broken before you
> upgraded?
I don't know--I don't run xmllint every day, and I don't know which
version I had when it was still working.
Here's the msg I get when I run 'xmllint --version' on Cygwin:
xmllint: using libxml version 20620
compiled with: DTDValid FTP HTTP HTML C14N Catalog XPath XPointer
XInclude Iconv Unicode Regexps Automata Schemas Modules
>> These same files used to pass xmllint fine, and they still do when
>> I run xmllint on a FreeBSD system.
>
> Which version?
Here's the 'xmllint --version' msg on the FreeBSD system:
xmllint: using libxml version 20619
compiled with: DTDValid FTP HTTP HTML C14N Catalog XPath XPointer
XInclude Iconv Unicode Regexps Automata Schemas
So it looks like a slightly older version of libxml works OK.
> How do I need to call it to reproduce the error? At least when
> running `xmllint Paradigms.Defn.xml` I get no error (Unimplemented
> block) with version 2.6.20.
I'm attaching two files: the xsd, and the xml. I have not tried to
minimize the .xsd file, but the .xml file is pretty much the minimum to
reproduce the error. The command line is
xmllint --noout --schema ParadigmDefn.xsd Tmp.xml
> Libxml is an GNU project with its own site: http://www.libxml.org
> Please ask at the mailing list before reporting it as bug, mailing
> list informations are also here: http://www.xmlsoft.org/bugs.html
> Listmanager to subscribe: http://mail.gnome.org/mailman/listinfo/xml
Thanks, I'll try that.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-07-18 15:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-15 16:05 xmllint stopped working? Mike Maxwell
2005-07-15 16:26 ` Mike Maxwell
2005-07-16 0:26 ` Gerrit P. Haase
2005-07-18 15:40 ` Mike Maxwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).