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!

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":

-------------
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
......
<log4j:configuration>
-------------

this may work without loss of validation.

It should also be possible to get it working with URI/namespace (Check the
file with a validating XMLparser/tool (XMLSpy, IE5))

Thilo

Dr. Thilo Schottelius
IMPRESS SOFTWARE AG
            


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to