On Thu, Sep 09, 2010 at 10:21:27PM +0000, brian m. carlson wrote:
> On Thu, Sep 09, 2010 at 12:21:42PM +0200, Mike Hommey wrote:
> > On Wed, Sep 08, 2010 at 06:48:18PM +0200, Mike Hommey wrote:
> > > I could reproduce with xmllint SVG.xsd. It turns out it doesn't like the
> > >     xmlns:xml CDATA #FIXED "http://www.w3.org/XML/1998/namespace";
> > > 
> > > declaration, and the error message is actually wrong.
> > 
> > Can you try the attached patch, from upstream?
> 
> Yes, that fixes the problem.  I do run into another parsing error with
> that schema, but I suppose that's another bug (unless you think it's
> related):
> 
>   lakeview ok % xmllint --schema 
> http://www.w3.org/TR/2002/WD-SVG11-20020108/SVG.xsd ~/image/logo/logo.svg
>   http://www.w3.org/TR/2002/WD-SVG11-20020108/xlink.xsd:20: element 
> attribute: Schemas parser error : Element 
> '{http://www.w3.org/2001/XMLSchema}attribute': The attribute 'use' is not 
> allowed.
>   http://www.w3.org/TR/2002/WD-SVG11-20020108/xlink.xsd:21: element 
> attribute: Schemas parser error : Element 
> '{http://www.w3.org/2001/XMLSchema}attribute': The attribute 'use' is not 
> allowed.
>   http://www.w3.org/TR/2002/WD-SVG11-20020108/xlink.xsd:22: element 
> attribute: Schemas parser error : Element 
> '{http://www.w3.org/2001/XMLSchema}attribute': The attribute 'use' is not 
> allowed.
>   http://www.w3.org/TR/2002/WD-SVG11-20020108/xlink.xsd:23: element 
> attribute: Schemas parser error : Element 
> '{http://www.w3.org/2001/XMLSchema}attribute': The attribute 'use' is not 
> allowed.
>   http://www.w3.org/TR/2002/WD-SVG11-20020108/xlink.xsd:45: element 
> attribute: Schemas parser error : Element 
> '{http://www.w3.org/2001/XMLSchema}attribute': The attribute 'use' is not 
> allowed.
>   http://www.w3.org/TR/2002/WD-SVG11-20020108/xlink.xsd:46: element 
> attribute: Schemas parser error : Element 
> '{http://www.w3.org/2001/XMLSchema}attribute': The attribute 'use' is not 
> allowed.
>   WXS schema http://www.w3.org/TR/2002/WD-SVG11-20020108/SVG.xsd failed to 
> compile

Yeah, that would be a different bug either in libxml2 or in the schema,
but somehow, I think it's in libxml2.

Mike



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to