[lazarus] Designer

Sebastian Günther sguenther at gmx.de
Tue Apr 18 10:28:55 EDT 2000


Michael Van Canneyt wrote:

> It already handles DOM. There are changes planned to make it DOM level 3 compliant,
> which would make it compatibe to SAX.

Sorry, this is not correct: DOM level 3 doesn't exist yet; within the
next few days it is expected that the needs for DOM 3 are specified.
Probably it will contain interfaces for loading and storing XML files.
SAX is a different matter: While DOM is specified by the World Wide Web
Consortium (W3C), SAX is a public domain specification created for
OpenSource XML parsers.
My first XML parser as present in the FCL parses a XML file and creates
the DOM tree directly. The new parser will have a SAX interface, for DOM
support there will be a special SAX->DOM 'converter'. (Converter might
not be the correct term; it simply defines callback functions for parser
events and creates the DOM tree based on this events.)
The current implementation is more or less DOM level 1 compliant; the
next release of the XML units will support the most important DOM level
2 extensions such as namespaces.


- Sebastian







More information about the Lazarus mailing list