#23 Problems with 'unknown protocol'

open
nobody
None
5
2004-12-03
2004-12-03
No

We have experienced several problems with Piccolo
being unable to parse files because of "unknown
protocol". This has happened both when the file has
referenced a DTD located in a JAR (as is the standard
for Apache Digester), and also with an XML file residing
on a Windows partition (i.e. "unknown protocol: d" for
file residin on d:\path\to\file.xml).

If you need more info (wich wouldn't be very
surprising...) I will try to find time for creating test
cases.

Discussion

  • DarkPigeon
    DarkPigeon
    2007-08-21

    Logged In: YES
    user_id=999606
    Originator: NO

    This is also an issue for me. Has anyone found a way to disable the parsing of DTDs? I my case I'm getting XML from a HTTP Post and the DTD is not a valid URL (<!DOCTYPE xgdresponse SYSTEM 'xgdresponse.dtd'>). I can string replace this, but I'd rather be able to tell Piccolo to not attempt the DTD parse.