Submitted by: eseidel
Reviewed by: adele
* kdom/Namespace.h: Merged in XPath 2.0 namespace def from KDE.
* kdom/Shared.h: Merged in comments from KDE.
* kdom/kdom.h: Changed local // to use #ifndef APPLE_CHANGES
(KDOM::operator<<):
A tiny batch of changes I wished to commit before moving
WebCore/kdom to SVGSupport/kdom.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9669
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
* Specification: http://www.w3.org/TR/xpath20/#id-identifying-errors
*/
const DOMString NS_XPERR = "http://www.w3.org/2004/07/xqt-errors";
+
+ /**
+ * The XPath 2.0 Unicode codepoint collation URI identifier. Collations
+ * specifies how strings are compared and ordered.
+ */
+ const DOMString NS_UNICODE_COLLATION = "http://www.w3.org/2005/04/xpath-functions/collation/codepoint";
};
#endif // KDOM_Namespace_h
} \
/**
+ * Add a null object singleton to the class, of the class' type.
+ * This makes for efficient storage and can be used in comparisons
+ * like this: someNode.firstChild() != Node::null; .
+ *
+ * TODO: is there demand for isNull() convenience method? If so, add
+ * here.
*/
#define KDOM_INTERNAL(ClassName) static ClassName null; typedef ClassName##Impl Private;
/**
+ * Base classes have a handle() convenience method that gives back
+ * the internal impl pointer, in addition to the null object singleton.
*/
#define KDOM_INTERNAL_BASE(ClassName) KDOM_INTERNAL(ClassName) ClassName##Impl *handle() const { return d; }
#define isImplicitNode(n) (false) // TODO: check that when khtml2 is ready
// Debugging helper
- //inline kndbgstream &operator<<(kndbgstream &stream, const DOMString &string) { return (stream << string.string()); }
+#ifndef APPLE_CHANGES
+ inline kndbgstream &operator<<(kndbgstream &stream, const DOMString &string) { return (stream << string.string()); }
+#endif
inline kdbgstream &operator<<(kdbgstream &stream, const DOMString &string) { return (stream << string.string()); }
};
+2005-07-11 Eric Seidel <eseidel@apple.com>
+
+ Reviewed by Adele.
+
+ * kdom/Namespace.h: Merged in XPath 2.0 namespace def from KDE.
+ * kdom/Shared.h: Merged in comments from KDE.
+ * kdom/kdom.h: Changed local // to use #ifndef APPLE_CHANGES
+ (KDOM::operator<<):
+ A tiny batch of changes I wished to commit before moving
+ WebCore/kdom to SVGSupport/kdom.
+
2005-07-11 Geoffrey Garen <ggaren@apple.com>
-fixed rdar://problem/4170960