> don't the defaults also get set when the parser performs a validating
> parse() on the incoming document?

Yes. The difference is that (a) the DOM-builder would have to take
responsibility for doing this a bit more explicitly (or calling
normalizeDocument when it's done -- which is probably a less efficient
option), and (b) the DOM would not assist you in maintaining those defaults
as you edit the document -- if you remove a Specified value the default
would not magically re-appear until/unless you re-normalized.

I belive this change is being proposed partly because (b) is much harder to
support in the Schema world than it was with DTDs. Giving up the magic
generation of default Attrs does seem to be the simplest fix.

But there is a backward-compatability concern if folks have code which
relies on the old behavior, so a large part of the question is how many
users will be affected and how badly.



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

Reply via email to