delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/15/12:05:12

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
To: cygwin AT cygwin DOT com
From: Mike Maxwell <maxwell AT ldc DOT upenn DOT edu>
Subject: xmllint stopped working?
Date: Fri, 15 Jul 2005 12:06:27 -0400
Lines: 66
Message-ID: <42D7DF03.4010004@ldc.upenn.edu>
Mime-Version: 1.0
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-IsSubscribed: yes

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 AT ldc DOT upenn DOT 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/

- Raw text -


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