vgritsenko 2002/06/08 17:23:26
Modified: src/java/org/apache/cocoon/components/treeprocessor
TreeProcessor.java treeprocessor-builtins.xml
Log:
add xml header, fix error reporting
Revision Changes Path
1.15 +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.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- TreeProcessor.java 3 Jun 2002 11:45:52 -0000 1.14
+++ TreeProcessor.java 9 Jun 2002 00:23:26 -0000 1.15
@@ -94,7 +94,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.14 2002/06/03 11:45:52 cziegeler Exp $
+ * @version CVS $Id: TreeProcessor.java,v 1.15 2002/06/09 00:23:26 vgritsenko Exp $
*/
public class TreeProcessor
@@ -265,7 +265,7 @@
resolver.release( source );
}
} 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);
} finally {
1.6 +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.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- treeprocessor-builtins.xml 29 May 2002 12:02:14 -0000 1.5
+++ treeprocessor-builtins.xml 9 Jun 2002 00:23:26 -0000 1.6
@@ -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]