You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by no...@apache.org on 2009/06/11 12:04:38 UTC

svn commit: r783715 - in /lucene/solr/trunk: CHANGES.txt src/java/org/apache/solr/core/CoreContainer.java

Author: noble
Date: Thu Jun 11 10:04:37 2009
New Revision: 783715

URL: http://svn.apache.org/viewvc?rev=783715&view=rev
Log:
SOLR-1215 use double quotes to enclose attributes in solr.xml

Modified:
    lucene/solr/trunk/CHANGES.txt
    lucene/solr/trunk/src/java/org/apache/solr/core/CoreContainer.java

Modified: lucene/solr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/CHANGES.txt?rev=783715&r1=783714&r2=783715&view=diff
==============================================================================
--- lucene/solr/trunk/CHANGES.txt (original)
+++ lucene/solr/trunk/CHANGES.txt Thu Jun 11 10:04:37 2009
@@ -504,6 +504,8 @@
 37. SOLR-1184: Add option in solrconfig to open a new IndexReader rather than
     using reopen. Done mainly as a fail-safe in the case that a user runs into
     a reopen bug/issue.  (Mark Miller)
+    
+38. SOLR-1215 use double quotes to enclose attributes in solr.xml (noble)
 
 Build
 ----------------------

Modified: lucene/solr/trunk/src/java/org/apache/solr/core/CoreContainer.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/core/CoreContainer.java?rev=783715&r1=783714&r2=783715&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/core/CoreContainer.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/core/CoreContainer.java Thu Jun 11 10:04:37 2009
@@ -686,9 +686,9 @@
     if (value == null) return;
     w.write(" ");
     w.write(name);
-    w.write("='");
+    w.write("=\"");
     XML.escapeAttributeValue(value.toString(), w);
-    w.write("'");
+    w.write("\"");
   }
   
   /** Writes the cores configuration node for a given core. */