What features do you need to set in StandardParserConfiguration so that:

a) A DTD is read for entity declarations, and
b) An XML Schema is used for validations.

I have a customer who wants to do, e.g.,

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MyElement SYSTEM "../../../entities.dtd">
<MyElement
    xmlns               = "&myns;"
    xmlns:xsi           = "&xsi;"
    xsi:schemaLocation  = "&myns; &loc;"
    >
...
</MyElement>

Take out the DOCTYPE, no problem but no entities. Put it in and I get validation against the DTD. Need to find a happy middle ground. Thanks.

Bob Foster


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



Reply via email to