[cxml-devel] DTD parsing

Mariano Montone marianomontone at gmail.com
Tue May 4 15:52:00 UTC 2010


David Lichteblau escribió:
> 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.
>   
Mmm..thanks. Having a look...




More information about the cxml-devel mailing list