W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2003

Re: DOMConfiguration error type

From: Philippe Le Hegaret <plh@w3.org>
Date: 09 May 2003 12:08:08 -0400
To: Gareth Reakes <gareth@decisionsoft.com>
Cc: WWW DOM <www-dom@w3.org>
Message-Id: <1052496487.32672.291.camel@jfouffa.w3.org>

On Fri, 2003-05-09 at 09:57, Gareth Reakes wrote:
> Hi,
> 	thanks for your very quick reply. I must be missing something here 
> as this is still not clear to me. Here is my situation:
> Namespace normalization is occurring and one of the error conditions is
> encountered. 
> I report a DOMError through the ErrorHandler.
> >From 
> http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/core.html#DOMConfiguration
> I understand that relatedData should be a node.
> I don't understand what type should be. It is not described at the same 
> location.

type should an identifier for the error. It could be very general, such
as "namespace", or have more granularity in order to differentiate the
different types of namespace errors that can occur in a document.
Providing a complete description of type in that case would require
doing a catalog of namespace errors, which is something we want to avoid
(the XML Core WG avoided it as well, at least for now). So, when the
type is not given explicitly, it's up to your implementation to provide

> At
> http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/core.html#ERROR-Interfaces-DOMError
> it says that when the error is specified then this information will be 
> provided. It gives an example where type is "infoset-baseURI". I am trying 
> to find what type should be for the error conditions I am encountering. I 
> would assume it was something like "DOMNode".

This one also requires clarification in LS...

Received on Friday, 9 May 2003 12:08:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:11 UTC