[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: need for defining standard APIs for xml storage
> From: owner-xml-dev@x... [mailto:owner-xml-dev@x...]On Behalf Of > Michel Rodriguez > I have just one question regarding APIs for xml storage: why can the DOM > not be used at one? The DOM can be used, but it should not. While being the prevalent model today, recent W3C standards such as XML Schema, XML Query, and XInclude start to use the XML Infoset rather then DOM-like datamodels. The reason for this is the perception that data model and the operations (DOM people read: API methods) to manipulate it should be independent. It is sufficient to describe what changes on an Infoset a processing step implies, but leave it open (and optimize able) how it is exactly done. Roughly speaking, the Infoset is a DOM2 without fixed API. In DOM thinking, the only way to describe changes in the data model is to describe the functional composition of DOM API methods that perform the change. This simply is too low a level of abstraction. > Does it need extensions? Lower level methods? No, it needs no methods at all to do the job. Keep data model and API separated. When it comes to implementation, however, I also do not see a real alternative to the DOM today. But this must not preclude the freedom of thinking in terms of the Infoset. Thus: think Infoset, and then implement DOM what you came up with in as DOM method calls. Or in an optimized way ... this is where database technology can intrude the XML word :) Regards, ++im *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|