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

Two questions

From: Lars Marius Garshol <larsga@garshol.priv.no>
Date: Sat, 20 May 2000 07:33:22 -0400 (EDT)
To: www-dom@w3.org
Message-ID: <m3og61cv7e.fsf@lambda.garshol.priv.no>

The last couple of days I have been putting together a test suite for
javadom.py, which is a simple wrapper interface that allows Python
scripts running in JPython to use Java DOM implementations with a
Python DOM interface.

When writing this test suite I found a number of bugs in the
underlying DOM implementations (and, of course, my own interface),
which I have reported. I also found a couple of weak spots, I believe,
in the specifications, where implementations differ.

1. What is the result of

  Is it None or ""?  As far as I can see neither of the level 1 and
  level 2 specs answer this question.  None would be the most
  reasonable answer, methinks, but some implementations think

  Xerces:   ""
  Sun:      None
  Brownell: ""
  4DOM:     ""
  Indelv:   None
  SXP:      None
  OpenXML:  ""

2. What is the result of calling

  The specs (1 and 2) seem to say that nothing should happen, and that
  is my own interpretation. 

  Xerces:   nothing
  Sun:      raise DOMException
  Brownell: raise DOMException
  4DOM:     nothing
  Indelv:   nothing
  SXP:      nothing
  OpenXML:  nothing

--Lars M.
Received on Sunday, 21 May 2000 11:02:11 UTC

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