You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by ns...@apache.org on 2003/09/19 15:27:45 UTC
cvs commit: xml-batik/sources/org/apache/batik/dom AbstractDocument.java
nsochele 2003/09/19 06:27:45
Modified: sources/org/apache/batik/dom AbstractDocument.java
Log:
added support for importing DocumentFragment nodes in importNode(...)
Revision Changes Path
1.20 +5 -1 xml-batik/sources/org/apache/batik/dom/AbstractDocument.java
Index: AbstractDocument.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/dom/AbstractDocument.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- AbstractDocument.java 8 Aug 2003 11:38:58 -0000 1.19
+++ AbstractDocument.java 19 Sep 2003 13:27:45 -0000 1.20
@@ -310,6 +310,10 @@
deep = false;
break;
+ case DOCUMENT_FRAGMENT_NODE:
+ result = createDocumentFragment();
+ break;
+
default:
throw createDOMException(DOMException.NOT_SUPPORTED_ERR,
"import.node",
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org