XML plugin - ignore this thread - copied it to original "XML plugin"
Hi,

I've problems to parse an XML file which contains DTD description between xml header and first root element

Method ${xml::RootElement} returns with "-1". If I change the <!DOCTYPE ..[]> to a comment <!--DOCTYPE ...[]> which isn't really feasible it will work.

It would be helpful to support the DOCTYPE dtag by default.

example:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE RootElement [
<!ELEMENT RootElement (System+)>
<!ELEMENT System EMPTY>

<!ATTLIST RootElement Version CDATA #REQUIRED>
...
]>
<RootElement>
...
</RootElement>

with regards,
Dierk