> I can understand that validation could 
> not occur on
> building...until completely built it would not be valid.

Why not validate while building?! This should be possible for tags and
attributes you add, it doesn't make
sense for tags or attributes that are mandatory but not created yet, that's
right. But why not throw an error
when you try to add tag <PACIFIC> to the DOM tree when it is not defined in
the schema.

> But 
> it seems silly
> to have to serialize an existing DOM tree to text and then 
> rebuild a new
> DOM tree to validate it.

Yes i agree absolutely, it should be possible to validate an existing DOM
tree at any time, for example before
serializing it.
 
> 
> Thanks,
> 
> Eric Schwarzenbach

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

Reply via email to