Skip to content

Commit 97dd435

Browse files
committed
FAQ: mention that version 3.1 and later do support Document.getDocumentURI().
1 parent faa4843 commit 97dd435

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

faq.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,14 @@ <h4>Does css4j work with dom4j 1.x or 2.x?</h4>
7070
methods that dom4j implements in 2.x but not in 1.6, so it is safe to use with 1.6. Recent versions aren't tested with 1.6 however.</p>
7171
</div>
7272
<div id="dom4jbase">
73-
<h4>Using the dom4j backend, I find that it does not support using the document's uri to retrieve relative urls. How can I work around?</h4>
73+
<h4>Using the dom4j backend prior to version 3.1, I find that dom4j does not support using the document's uri to retrieve relative urls. How can I work around?</h4>
7474
<p>You can manually set the base url, doing something like:</p>
7575
<pre>
7676
if (document.getBaseURL() == null) {
7777
document.setBaseURL(baseUrl);
7878
}
7979
</pre>
80+
<p>From version 3.1 onwards, the css4j-dom4j module does implement and support <code>Document.getDocumentURI()</code>.</p>
8081
</div>
8182
<div id="dom4janddomwrapper">
8283
<h4>Does the DOM4J back-end make use of the DOM wrapper, internally?</h4>

0 commit comments

Comments
 (0)