...here is a little stupid patch ...waiting a fixed xalan and/or a better solution Christian
--- XMLDBTransformer.java.chris Sat Mar 2 23:37:03 2002 +++ XMLDBTransformer.java Sat Mar 2 23:37:45 2002 @@ -430,6 +430,19 @@ try { XUpdateQueryService service = (XUpdateQueryService) collection.getService("XUpdateQueryService", "1.0"); + + String document2 = null; + int index1 = document.indexOf("<xu:modifications +version=\"1.0\">"); + + if ( index1 > 0 ) + { + document2 = +document.copyValueOf(document.toCharArray() , 0, (index1 - 1) ); + document2 = document2.concat("<xu:modifications +version=\"1.0\" xmlns:xu=\"http://www.xmldb.org/xupdate\" >"); + document2 = document2.concat( document.copyValueOf( +document.toCharArray() , (index1 + 32), (document.length()-(index1 + 32)) ) ); + + document = document2; + } + long count = (this.key == null)? service.update(document) : service.updateResource(this.key, document); message = count + " entries updated.";
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]