vgritsenko 2002/06/08 17:23:26
Modified: src/java/org/apache/cocoon/components/treeprocessor Tag:
cocoon_2_0_3_branch TreeProcessor.java
treeprocessor-builtins.xml
Log:
add xml header, fix error reporting
Revision Changes Path
No revision
No revision
1.4.2.2 +2 -2
xml-cocoon2/src/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java
Index: TreeProcessor.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -u -r1.4.2.1 -r1.4.2.2
--- TreeProcessor.java 7 Jun 2002 10:22:43 -0000 1.4.2.1
+++ TreeProcessor.java 9 Jun 2002 00:23:26 -0000 1.4.2.2
@@ -99,7 +99,7 @@
* Interpreted tree-traversal implementation of a pipeline assembly language.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Sylvain Wallez</a>
- * @version CVS $Id: TreeProcessor.java,v 1.4.2.1 2002/06/07 10:22:43 cziegeler Exp
$
+ * @version CVS $Id: TreeProcessor.java,v 1.4.2.2 2002/06/09 00:23:26 vgritsenko
Exp $
*/
public class TreeProcessor extends AbstractLoggable implements ThreadSafe,
Processor,
@@ -251,7 +251,7 @@
}
}
} catch(Exception e) {
- String msg = "Error while reading treeprocessor.xconf : " +
e.getMessage();
+ String msg = "Error while reading " + xconfURL + ": " + e.getMessage();
getLogger().error(msg, e);
throw new ConfigurationException(msg, e);
}
1.2.2.1 +1 -0
xml-cocoon2/src/java/org/apache/cocoon/components/treeprocessor/treeprocessor-builtins.xml
Index: treeprocessor-builtins.xml
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/treeprocessor/treeprocessor-builtins.xml,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -r1.2 -r1.2.2.1
--- treeprocessor-builtins.xml 17 Mar 2002 21:55:22 -0000 1.2
+++ treeprocessor-builtins.xml 9 Jun 2002 00:23:26 -0000 1.2.2.1
@@ -1,3 +1,4 @@
+<?xml version="1.0"?>
<tree-processor>
<!-- The sitemap language.
The "class" attribute names the implementation of TreeBuilder to be used for
this language
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]