dom: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: dom
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Implements the [DOM level 2 Core](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/) specification and some of the [DOM level 3 Core](http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/) properties/methods. | |
| 2 | + | ||
| 3 | + | ## Supported DOM level 3 properties and methods: | |
| 4 | + | ||
| 5 | + | - TDOMNode.TextContent | |
| 6 | + | - TDOMNode.BaseURI | |
| 7 | + | - TDOMText.IsElementContentWhitespace | |
| 8 | + | - TDOMNode.LookupNamespaceURI() | |
| 9 | + | - TDOMDocument.DocumentURI | |
| 10 | + | - TDOMAttr.IsID | |
| 11 | + | - TDOMNode.LookupPrefix() | |
| 12 | + | - TDOMNode.IsDefaultNamespace() | |
| 13 | + | - XmlVersion property (stub in TDOMDocument, functional in TXMLDocument) | |
| 14 | + | - TDOMDocument.XmlEncoding, TDOMEntity.XmlEncoding | |
| 15 | + | ||
| 16 | + | ## Issues | |
| 17 | + | ||
| 18 | + | - 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. | |
| 19 | + | ||
| 20 | + | Back to [[fcl-xml]] overview. | |
| 21 | + | ||
| 22 | + | --- | |
| 23 | + | *From the Free Pascal wiki, page "dom", as it stood on 2013-04-17 after a change by Jwdietrich, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 24 | + | Category: HTML | |
| 25 | + | Category: XML |
