Re: DOMWriter etc spec in DOM Level 3 LS ( June 19 2003 ) specification???

On Thu, 2003-06-26 at 14:25, Ramesh Mandava wrote:
> Hi:
>   As part of DOM Level 3 Load and Save specification ( June 19 2003 : 
> http://www.w3.org/TR/2003/WD-DOM-Level-3-LS-20030619 ) java binding "DOMWriter" 
> is moved to 
>   
>   "org.w3c.dom.DOMWriter" ( similarly DOMOutputStream ) . The idea may be to put 
> this as part of "DOM Level 3 Core specification".
>   
>   But the latest available version of "DOM L3 Core spec [ June 9,2003 ]" ( 
> http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030609  ) doesn't specify this 
> interface.
>   
>   Can't the different DOM L3 specs can be in sync?? Is somebody trying to 
> resolve this issue??

I published a corrected version of the DOM script generator [1], and
uploaded a compiled version at:
http://www.w3.org/2003/06/27-specgenerator.jar

use it as follows:
java -jar 27-specgenerator.jar \
--map-type Java void void  --bindings \
http://www.w3.org/TR/2003/WD-DOM-Level-3-LS-20030619/xml-source.xml

You'll need SAX and DOM bindings in your classpath as well.

This will generate appropriate bindings, according to their definitions
in the LS chapter. Apologies for the inconvenience.

I also noted that the IDL in the LS specification contains errors (some
parameter names conflict with their types). "context" is also used as a
parameter name but is reserved by the OMG specification to be used as
context objects for operations. So expect some parameter renaming in the
next version of LS (not an issue for Java, but it is an issue for some
bindings such as Python). This includes the methods parseWithContext,
startElement, acceptNode, write, writeURI, writeToString, and saveXML.

We tried to make sure that LS and Core are in sync (which is why you
have the issue DOMSerializer-iucd-issue in the LS specification), so any
inconsistency found between those specifications is an error and needs
to be reported as such in this mailing list.

Philippe

[1] http://dev.w3.org/cvsweb/java/classes/org/w3c/tools/specgenerator/

Received on Friday, 27 June 2003 11:15:09 UTC