>Should all of the unimplemented DOM functions throw exceptions? 
> For example:
>
> XalanNodeList* XalanSourceTreeElement::getElementsByTagName(const 
XalanDOMString &)
const
>{
>                return 0;
>}
>
>I would expect this to throw a not implemented exception.

Actually, I would expect that one to be implemented, eventually... But I 
agree that deliberately unsupported/deferred functions should probably 
fail in a diagnostically meaningful manner.

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies:
XML, XSL and more.  "may'ron DaroQbe'chugh vaj bIrIQbej" 
("Put down the squeezebox and nobody gets hurt.")

Reply via email to