You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2006/11/14 16:58:09 UTC

svn commit: r474835 - /lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java

Author: andreas
Date: Tue Nov 14 07:58:08 2006
New Revision: 474835

URL: http://svn.apache.org/viewvc?view=rev&rev=474835
Log:
Don't use NamespaceHelper with null namespace

Modified:
    lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java

Modified: lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java?view=diff&rev=474835&r1=474834&r2=474835
==============================================================================
--- lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java (original)
+++ lenya/trunk/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java Tue Nov 14 07:58:08 2006
@@ -209,9 +209,7 @@
             indexSource = (ModifiableSource) resolver.resolveURI(publicationsUri + "/"
                     + newPublicationId + "/config/lucene_index.xconf");
             Document indexDoc = DocumentHelper.readDocument(indexSource.getInputStream());
-            NamespaceHelper indexHelper = new NamespaceHelper(null, "xconf", indexDoc);
-
-            Element[] indexElement = indexHelper.getChildren(indexDoc.getDocumentElement(), "index");
+            Element[] indexElement = DocumentHelper.getChildren(indexDoc.getDocumentElement(), "index");
 
             for (int i=0; i<indexElement.length; i++) {
                 String id = indexElement[i].getAttribute("id");



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org