At 10:26 AM 1/10/00 -0700, Jeff Lewis wrote:
>You should specify the protocol:

No.  <!DOCTYPE foo SYSTEM "filename.dtd">

is unconditionally just fine and should be handled correctly.  Per
the relevant RFCs this is a "relative URI reference". 

However. 

In my experience, handling "file:" URIs (which is probably what
this turns out to be) is one of the huge portability holes in your
friendly local Java base classes.  In the test mainline for one of his
java parsers, James Clark splodged together a series of heroic heuristics
that seem to nearly always work with file: URLs.  Might be worth
stealing them. -Tim

Reply via email to