[XML-SIG] DOM seems incomplete

Mike Brown mike at skew.org
Tue Aug 10 18:44:03 CEST 2004

Andrew Clover wrote:
> A DocumentType node happens to have the same nodeName as the root 
> element, because when you say <!DOCTYPE blah []>, 'blah' must match the 
> root element.

That's not always true; the name in the DOCTYPE only has to match the name of 
the root element if you are validating. (It's a Validity Constraint, not a 
matter of well-formedness.)

More information about the XML-SIG mailing list