[gdome]State of my work 03/18/2001



Main new features:
- Notation, Entity, EntityReference interfaces
- Changed the implementation of DocumentType interface

Note:
Gdome2 doesn't use directly libxml tree to access to Notation and Entity
Node.
- DOM2 DocumentType interface doesn't make differences between internal or
  external Notation and Entity Nodes, so when a DocumentType node is
  requested the gdome_xml_dt_mkref join, if they exist, the four libxml
  hashs for notations and entities in two hashs and insert them in the 
  Gdome_xml_DocumentType struct.
- DOM2 Notation inherit from Node interface, so libxml xmlNotation struct
  isn't suitable for our goals. So I made a gdome_xmlNotation struct that 
  is very similar to libxml xmlEntity struct. While gdome_xml_dt_mkref
  method join the internal and external notations hashs from libxml it
  also copy xmlNotation struct data in a new gdome_xmlNotation struct 
  leaving the libxml tree unchanged.

Fundamentals Interfaces complete or nearly complete:
DOMException, ExceptionCode, DOMImplementation, DocumentFragment,
Document,
Node, Nodelist, NamedNodeMap, CharacterData, Attr, Element, Text, Comment.

Extended Interfaces complete or nearly complete:
CDATASection, DocumentType, Notation, Entity, EntityReference,
ProcessingInstruction.

What does it mean "nearly complete":
Node: all methods are implemented except for "normalize" and "isSupported"
Attr: all methods are implemented except for "specified"
Document: all methods are implemented except for "importNode"
DOMImplemetation: all methods are implemented except for "hasFeature"
DocumentType: all methods are implemented except for "internalSubset"

Test program:
test-document, test-node, test-cdata, test-dtd

Next Tasks:
- Solve the problem to manage readonly nodes
- Set all GdomeException in all Interface methods
- Implement new tests
- Make a realease

Scheduled date for the next commit: 03/21/2001

Bye
  Paolo
--
Paolo Casarini - casarini cs unibo it





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]