mrglavas 2003/11/30 20:49:56 Modified: java/src/org/apache/xerces/xinclude XIncludeHandler.java Log: Updating implementation to incorporate change to XInclude namespace from latest WD: http://www.w3.org/TR/2003/WD-xinclude-20031110/ Revision Changes Path 1.9 +4 -4 xml-xerces/java/src/org/apache/xerces/xinclude/XIncludeHandler.java Index: XIncludeHandler.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/xinclude/XIncludeHandler.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- XIncludeHandler.java 17 Nov 2003 04:49:18 -0000 1.8 +++ XIncludeHandler.java 1 Dec 2003 04:49:56 -0000 1.9 @@ -103,7 +103,7 @@ * <p> * This component analyzes each event in the pipeline, looking for <include> * elements. An <include> element is one which has a namespace of - * <code>http://www.w3.org/2001/XInclude</code> and a localname of <code>include</code>. + * <code>http://www.w3.org/2003/XInclude</code> and a localname of <code>include</code>. * When it finds an <include> element, it attempts to include the file specified * in the <code>href</code> attribute of the element. If inclusion succeeds, all * children of the <include> element are ignored (with the exception of @@ -140,7 +140,7 @@ "org.apache.xerces.parsers.XIncludeParserConfiguration"; public final static String XINCLUDE_NS_URI = - "http://www.w3.org/2001/XInclude".intern(); + "http://www.w3.org/2003/XInclude".intern(); public final static String XINCLUDE_INCLUDE = "include".intern(); public final static String XINCLUDE_FALLBACK = "fallback".intern(); @@ -1243,9 +1243,9 @@ } /** - * Returns true if the element has the namespace "http://www.w3.org/2001/XInclude" + * Returns true if the element has the namespace "http://www.w3.org/2003/XInclude" * @param element the element to check - * @return true if the element has the namespace "http://www.w3.org/2001/XInclude" + * @return true if the element has the namespace "http://www.w3.org/2003/XInclude" */ protected boolean hasXIncludeNamespace(QName element) { return element.uri == XINCLUDE_NS_URI
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
