Thilo Schottelius wrote:
> Dear Robert, dear Jeff,
>
> I read your conversation. To my opinion the workaround (removing the doctype
> comment which refers to the DTD) has the disadvantage that your XML file is
> "well formed", but (possibly) not valid!
IMHO so what?
> I think that the problem is caused by the URI/namespace:
>
> <log4j:configuration xmlns:log4j="<http://jakarta.apache.org/log4j/>>
> ^
>
> If you remove just this URI, the line is equal to the Log4J example file
> "sample1.xml":
IMHO all DTDs should be removed from any xml before it's parsed by xerces.
i don't have unmetered internet and so i can't parse an xml document using
xerces without editing the DOCTYPE :-(
but in general, i don't like the thought of trying to download an xml DTD from
an URL everytime i parse an xml document.
not only is it a big performance hit but is an unneccessary source of runtime
errors.
- robert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]