Skip Menu |
 

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 20075
Status: rejected
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: GIRAFFED [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



This is the test failure I mentioned in ticket 16333. I thought it was looking for a file "catalog:1" (because I don't know what ":1" means in the file: URL, and I noticed that Lynx tried to access a file called catalog:1 when I used that URL), but maybe not. My /etc/xml/catalog is: <?xml version="1.0"?> <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"\ "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"/> I have no idea what this file is; I created it a long time ago when something refused to work without it. Using /mp/hdc1/XML-LibXML/blib 1..43 # Running under perl version 5.006002 for linux # Current time local: Sat Jun 24 19:57:56 2006 # Current time GMT: Sat Jun 24 19:57:56 2006 # Using Test.pm version 1.24 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 file:///etc/xml/catalog:1: parser error : Document is empty ^ file:///etc/xml/catalog:1: parser error : Start tag expected, '<' not found ^ at t/17callbacks.t line 25
Download (untitled) / with headers
text/plain 1.3k
On so 24.čen.2006 16:13:47, GIRAFFED wrote: Show quoted text
> I thought it was looking for a file "catalog:1" (because I don't
know Show quoted text
> what ":1" means in the file: URL, and I noticed that Lynx tried to > access a file called catalog:1 when I used that URL), but maybe not.
: is a separator, 1 is a line number. Show quoted text
> My /etc/xml/catalog is: > > <?xml version="1.0"?> > > <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML
Catalog Show quoted text
> V1.0//EN"\ > "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> > <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"/> > > I have no idea what this file is; I created it a long time ago when > something refused to work without it.
catalog files are used to translate DTD/entity public identifiers into system identifiers (URLs) or to rewrite remote URLs to local URLs. This allows one to use an URL when referring e.g. to a DTD while making the parser read a local copy instead. Show quoted text
> ok 7 > file:///etc/xml/catalog:1: parser error : Document is empty > > ^ > file:///etc/xml/catalog:1: parser error : Start tag expected, '<'
not Show quoted text
> found > > ^ > at t/17callbacks.t line 25
Ok, is the file /etc/xml/catalog readable for the process? Which version of libxml2 do you use and what are the compile-time options? I cannot reproduce this on my system, so I need as much info as you can provide. -- Petr
Can't reproduce, need more info. -- Petr
No more information was provided so rejecting.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.