On Feb 11, Steinar H. Gunderson ([EMAIL PROTECTED]) wrote: > On Sat, Feb 11, 2006 at 09:11:36AM -0500, Neil Roeth wrote: > > (2) Explicitly specify it on the command line, e.g., > > > > onsgmls -s /usr/share/xml/declaration/xml.dcl foo.xml > > That's odd, I do: > > my $cmd = "/usr/bin/onsgmls -s -n -c > /usr/share/w3c-markup-validator/catalog/xml.soc -wxml <$sp_in 2>$sp_err"; > > and it's failing consistently.
Why is that odd? There is no SGML declaration specified on your command line, you are specifying the catalog xml.soc rather than relying on the default catalog, so onsgmls will look for DTDDECL entries in xml.soc or any catalogs referenced within that. This is similar to what I did while debugging this: I created a small catalog that had just the entries needed to reproduce the problem, and called onsgmls like this: ./onsgmls -s -c ./catalog < test.html on the test.html attached to the bug report. > Apart from that, I think I understand the issues at least partially now; > thanks :-) You're welcome, glad to help. I learned all this since picking up maintenance of the package, it's been an educating experience for me. -- Neil Roeth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]