[cxml-devel] DTD parsing

David Lichteblau david at lichteblau.com
Tue May 4 15:50:31 UTC 2010


Quoting Mariano Montone (marianomontone at gmail.com):
> > <delegateSystem
> > systemIdStartString="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
> > catalog="file:///home/marian/work/cluts2/qimt/test/xhtml1-strict.dtd"/>
> >
> > And it is being detected, but there's a problem when parsing it:
> >
> > WARNING:
> >    deprecated SAX default method used by a handler that is not a
> > subclass of SAX:ABSTRACT-HANDLER or HAX:ABSTRACT-HANDLER
> > WARNING: ignoring catalog error: Document not well-formed: element expected
> > Context:
> >   Line 27, column 9 in
> > file://+/home/marian/work/cluts2/qimt/test/xhtml1-strict.dtd
[...]
> And this is the error I get (what I wrote above where the warnings):
> 
> URI scheme :HTTP not supported
>    [Condition of type CXML:XML-PARSE-ERROR]

Good question.  Line 27 is where the DTD starts pulling in other files
(xhtml-lat1.ent, in this case).

Perhaps it is just that the catalog is not set up for those *.ent files,
so the parser sees only the http:// system ID for them, and gives up?


d.




More information about the cxml-devel mailing list