[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: DOM and editing [was WISH!...]

  • From: "Lauren Wood" <lauren@s...>
  • To: xml-dev@i...
  • Date: Thu, 6 Jan 2000 12:18:50 -0800

Re: DOM and editing [was WISH!...]
On 7 Jan 00, at 12:08, Peter Murray-Rust wrote:

> I am indeed doing this! I have specified and implemented a first pass at
> CMLDOM using DOM-1. I ran into a number of problems when building/editing
> the DOM. I have been using two implementations, xml-tr2 from SUN and xml4j
> (now Xerces). Each of these had extended the DOM interface with methods
> such as
> setTagName() and
> setOwnerDocument()
> which I found to be essential for editing. In doing so the 2
> implementations diverged and I could not easily extend one without losing
> the ability to switch to the other if necessary. (I appreciate that this is
> one of the problems that SAXON tackled). I therefore did not have an
> implementation of CMLDOM that could be switched from one implementation to
> the other. effectively this means that I would have to rewrite the
> interface for different editors

The theory is that the DOM will define basic functionality and leave 
the convenience functions to other modules (yes, I know we don't do 
DTDs yet, but that will be done in Level 3, which we're starting now). 
So if there are things you *really need*, please send a list of them 
to www-dom@w.... Especially if they're already in some existing 
DOM implementation. It's too late for Level 2, but we're busy writing 
requirements document for Level 3, so now is the right time to get 
them listed. If you can include a use case, that makes life much 
easier for everyone, of course.

> If these and related problems are solved in DOM2 I shall be delighted!
> DOM2, however, specifically suggests that the interface can be extended,
> and it is these extensions that I am afraid of. 

I don't think those functions are in DOM Level 2. As for the 
extensibility, the DOM has always said that implementations can 
add their own functionality, so there's nothing new there. The best 
solution is if DOM implementations come with documentation that 
clearly states which functions and methods are part of the W3C 
DOM specification, and which are proprietary.


Lauren

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.