- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Fri, 28 Mar 2008 12:32:47 -0500
- To: Bjoern Hoehrmann <derhoermi@gmx.net>
- CC: "Web APIs WG (public)" <public-webapi@w3.org>
Bjoern Hoehrmann wrote: >> What is the correct behavior if a lookupNamespaceURI call moves nodes >> between documents? In particular, what is the correct behavior is the >> Element node the call is being made on is moved to a different document >> during the lookupNamespaceURI call (using adoptNode)? > > Do I understand correctly that this is something scripts should not do? Correct. I think it's worth taking the HTML5 approach of defining both what documents are conforming and what to do with the non-conforming ones.... > I would be rather reluctant to define this so long as we don't also de- > fine when and how many times the resolver is invoked, since depending on > that, the results would not necessarily become more predictable. Indeed. > Would it be acceptable to include a general provision to the effect that > if an implementation detects that resolvers manipulate documents in some > undesirable way, they may throw an exception? I would be happy with that, yes. -Boris
Received on Friday, 28 March 2008 17:33:59 UTC