[XML-SIG] Re: pyxml0.8.3/minidom/getElementById still broken???

Petri Savolainen petri.savolainen at iki.fi
Wed Oct 15 10:30:24 EDT 2003


Alexandre, Fred, Andrew, thank you!

Indeed, I had no DTD, no validation. I assumed that by default, attributes
named "id" are treated as id attributes, for the purposes of
getElementById.

Using setIdAttribute('id') from DOM3 Load & Save (?) works great, too.

Thanks again!

 Petri

Fred L. Drake, Jr. wrote:

> 
> Andrew Clover writes:
>  > If the IDness of the attribute concerned is declared in the external
>  > subset, minidom won't use that as it's a non-validating,
>  > non-external-entity-reading DOM implementation.
> 
> That, theoretically, can be controlled using the DOM 3 Load & Save
> interface, though do so isn't as well tested as it should be.  That
> will change as the spec for that approaches Recommendation status.
> 
> 
>   -Fred
> 





More information about the XML-SIG mailing list