delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/15/20:26:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42D8542B.6060402@familiehaase.de>
Date: Sat, 16 Jul 2005 02:26:19 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511
MIME-Version: 1.0
To: Mike Maxwell <maxwell AT ldc DOT upenn DOT edu>
CC: cygwin AT cygwin DOT com
Subject: Re: xmllint stopped working?
References: <42D7DF03 DOT 4010004 AT ldc DOT upenn DOT edu>
In-Reply-To: <42D7DF03.4010004@ldc.upenn.edu>
X-IsSubscribed: yes

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019