cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ba...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xinclude XIncludeProcessor.java
Date Thu, 11 May 2000 03:27:48 GMT
balld       00/05/10 20:27:48

  Modified:    src/org/apache/cocoon/processor/xinclude
                        XIncludeProcessor.java
  Log:
  changed xptr() to xpointer()
  
  Revision  Changes    Path
  1.5       +3 -3      xml-cocoon/src/org/apache/cocoon/processor/xinclude/XIncludeProcessor.java
  
  Index: XIncludeProcessor.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xinclude/XIncludeProcessor.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XIncludeProcessor.java	2000/05/09 19:36:55	1.4
  +++ XIncludeProcessor.java	2000/05/11 03:27:48	1.5
  @@ -44,7 +44,7 @@
    * from my XInclude filter for cocoon2.
    *
    * @author <a href="mailto:balld@webslingerZ.com">Donald Ball</a>
  - * @version CVS $Revision: 1.4 $ $Date: 2000/05/09 19:36:55 $ $Author: balld $
  + * @version CVS $Revision: 1.5 $ $Date: 2000/05/11 03:27:48 $ $Author: balld $
    */
   public class XIncludeProcessor extends AbstractActor implements Processor, Status {
   
  @@ -270,8 +270,8 @@
   			try {
   				included_document = parser.parse(input,false);
   			} catch (Exception e) {}
  -			if (suffix.startsWith("xptr(") && suffix.endsWith(")")) {
  -				String xpath = suffix.substring(5,suffix.length()-1);
  +			if (suffix.startsWith("xpointer(") && suffix.endsWith(")")) {
  +				String xpath = suffix.substring(9,suffix.length()-1);
   				if (debug) { System.err.println("XPath is "+xpath); }
   				NodeList list = XPathAPI.selectNodeList(included_document,xpath);
   				int length = list.getLength();
  
  
  

Mime
View raw message