Difference between revisions of "dom"

From Lazarus wiki
Jump to navigationJump to search
(→‎Supported DOM level 3 properties:: updated list with recent progress)
Line 7: Line 7:
 
* TDOMDocument.DocumentURI
 
* TDOMDocument.DocumentURI
 
* TDOMAttr.IsID
 
* TDOMAttr.IsID
 +
* TDOMNode.LookupPrefix()
 +
* TDOMNode.IsDefaultNamespace()
 +
* XmlVersion property (stub in TDOMDocument, functional in TXMLDocument)
 +
* TDOMDocument.XmlEncoding, TDOMEntity.XmlEncoding
  
 
== Issues ==
 
== Issues ==

Revision as of 16:52, 25 October 2010

Implements the DOM level 2 Core specification and some of the DOM level 3 Core properties/methods.

Supported DOM level 3 properties:

  • TDOMNode.TextContent
  • TDOMText.IsElementContentWhitespace
  • TDOMNode.LookupNamespaceURI()
  • TDOMDocument.DocumentURI
  • TDOMAttr.IsID
  • TDOMNode.LookupPrefix()
  • TDOMNode.IsDefaultNamespace()
  • XmlVersion property (stub in TDOMDocument, functional in TXMLDocument)
  • TDOMDocument.XmlEncoding, TDOMEntity.XmlEncoding

Issues

  • The specification says that TDOMNode.lookupNamespaceURI() should return the default namespace if its argument is null and null if the argument is an empty string. Pascal, however, does not allow to distinguish between null and empty string, so we have no other choice than returning default namespace for empty string arguments.


Back to fcl-xml overview.