Index: core/xml/XPathExpression.idl |
diff --git a/core/xml/XPathExpression.idl b/core/xml/XPathExpression.idl |
index 35ab9089439e80a55903c2acd40de36e6b5438a3..397fb25b44cdff9c954f3f0abd8caae59c613389 100644 |
--- a/core/xml/XPathExpression.idl |
+++ b/core/xml/XPathExpression.idl |
@@ -18,11 +18,11 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
+// http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathExpression |
+ |
[ |
- WillBeGarbageCollected |
+ GarbageCollected, |
+ TypeChecking=Interface, |
] interface XPathExpression { |
- [RaisesException] XPathResult evaluate([Default=Undefined] optional Node contextNode, |
- [Default=Undefined] optional unsigned short type, |
- [Default=Undefined] optional XPathResult inResult); |
+ [RaisesException] XPathResult evaluate(Node contextNode, optional unsigned short type = 0, optional object? inResult = null); |
}; |
- |