W3C home > Mailing lists > Public > www-dom-ts@w3.org > August 2001

Re: attrsetvaluenomodificationallowederr.xml

From: Mary Brady <mbrady@nist.gov>
Date: Mon, 20 Aug 2001 12:45:10 -0400
Message-ID: <00d801c12997$79a791b0$293b0681@HAPPY>
To: "Arnold, Curt" <Curt.Arnold@hyprotech.com>, <www-dom-ts@w3.org>
I'll double check our docs on this side --
it seems that several of the tests changed
as a result of some of the errata...

--Mary

----- Original Message -----
From: "Arnold, Curt" <Curt.Arnold@hyprotech.com>
To: <www-dom-ts@w3.org>
Sent: Monday, August 20, 2001 12:31 PM
Subject: RE: attrsetvaluenomodificationallowederr.xml


> Joseph Kesselman wrote:
>
> > That's  Level 1 behavior if the node is read-only. See
>
http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-core.html#ID-F68
D080
>
> >(I seem to remember that there may have been an erratum in earlier
versions of the >DOM which failed to define this behavior, whcih might
explain the
> >confusion...?)
>
> Attr.value is not declared to raise any exceptions in the original DOM
Level 1 Recommendation,
http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-221662474  But
was declared to raise
> NO_MODIFICATION_ALLOWED_ERR in the DOM Level 1 errata
(http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html) and
> DOM Level 1 Second Edition,
http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-core.html#ID-221
662474.
>
> The DTD's and Schemas were generated from the original DOM Level 1 spec,
so it did not recognize raising NO_MODIFICATION_ALLOWED_ERR as something to
be expected from setting Attr.value.
>
> I will move the test back to the DOM Level 1 set.  The test (and only this
test) will not validate against the DTD and Schema's generated from the DOM
Level 1 Recommendation due to an erratum.  The
> test generation transform does not require that the test validate and so
should properly convert this test using original recommendation sources.
>
> There are a couple of options:
>
> 1) attrsetvaluenomodificationallowederr.xml could be explicitly excluded
from the dom1-core-validate-tests task.
>
> 2) The DTD and schema building process could use the Second Edition
working draft instead of the original recommendation.
>
> My preference would be 1 since DOM Level 1 is still a working draft and
other than failing to validate this one test there seem to be no negative
consequences of continuing to use the original
> recommendation.
>
> However, I will attempt to build tasks for generating resources from the
SE, at least as a check for the SE.
>
>
>
>
>
>
Received on Monday, 20 August 2001 12:46:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:03 UTC