Author: vgritsenko Date: Fri Apr 6 20:14:20 2007 New Revision: 526352 URL: http://svn.apache.org/viewvc?view=rev&rev=526352 Log: replace double quotes with single quote for readability
Modified: xml/xindice/trunk/java/src/org/apache/xindice/core/MetaSystemCollection.java xml/xindice/trunk/java/src/org/apache/xindice/core/SystemCollection.java xml/xindice/trunk/java/src/org/apache/xindice/xml/SymbolTableSymbols.java Modified: xml/xindice/trunk/java/src/org/apache/xindice/core/MetaSystemCollection.java URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/core/MetaSystemCollection.java?view=diff&rev=526352&r1=526351&r2=526352 ============================================================================== --- xml/xindice/trunk/java/src/org/apache/xindice/core/MetaSystemCollection.java (original) +++ xml/xindice/trunk/java/src/org/apache/xindice/core/MetaSystemCollection.java Fri Apr 6 20:14:20 2007 @@ -46,32 +46,32 @@ private static String METACOL_DEFINITION // Meta System Collection - = "<collection name=\"" + METACOL + "\">" + = "<collection name='" + METACOL + "'>" + " <collections>" // Meta Collections - + " <collection name=\"" + METAS + "\" compressed=\"true\">" - + " <filer class=\"org.apache.xindice.core.filer.BTreeFiler\" />" + + " <collection name='" + METAS + "' compressed='true'>" + + " <filer class='org.apache.xindice.core.filer.BTreeFiler'/>" + " <collections>" // Add Meta collections for System collections to avoid eternal loop during initialization - + " <collection name=\"" + SystemCollection.SYSCOL + "\">" + + " <collection name='" + SystemCollection.SYSCOL + "'>" + " <collections>" // Meta for Symbol Tables Collection - + " <collection name=\"" + SystemCollection.SYMBOLS + "\" compressed=\"true\">" - + " <filer class=\"org.apache.xindice.core.filer.BTreeFiler\" />" + + " <collection name='" + SystemCollection.SYMBOLS + "' compressed='true'>" + + " <filer class='org.apache.xindice.core.filer.BTreeFiler'/>" + " <symbols>" - + " <symbol name=\"meta\" nsuri=\"http://apache.org/xindice/metadata\" id=\"0\" />" - + " <symbol name=\"xmlns\" nsuri=\"http://www.w3.org/2000/xmlns/\" id=\"1\" />" - + " <symbol name=\"system\" nsuri=\"http://apache.org/xindice/metadata\" id=\"2\" />" - + " <symbol name=\"type\" id=\"3\" />" - + " <symbol name=\"attr\" nsuri=\"http://apache.org/xindice/metadata\" id=\"4\" />" - + " <symbol name=\"name\" id=\"5\" />" - + " <symbol name=\"value\" id=\"6\" />" + + " <symbol name='meta' nsuri='http://apache.org/xindice/metadata' id='0'/>" + + " <symbol name='xmlns' nsuri='http://www.w3.org/2000/xmlns/' id='1'/>" + + " <symbol name='system' nsuri='http://apache.org/xindice/metadata' id='2'/>" + + " <symbol name='type' id='3'/>" + + " <symbol name='attr' nsuri='http://apache.org/xindice/metadata' id='4'/>" + + " <symbol name='name' id='5'/>" + + " <symbol name='value' id='6'/>" + " </symbols>" + " <indexes/>" + " </collection>" // System Configuration Collection - + " <collection name=\"" + SystemCollection.CONFIGS + "\" compressed=\"false\">" - + " <filer class=\"org.apache.xindice.core.filer.BTreeFiler\" />" + + " <collection name='" + SystemCollection.CONFIGS + "' compressed='false'>" + + " <filer class='org.apache.xindice.core.filer.BTreeFiler'/>" + " <indexes/>" + " </collection>" + " </collections>" @@ -150,8 +150,8 @@ } String cfgText - = "<collection name=\"" + segment + "\" compressed=\"true\">" - + " <filer class=\"org.apache.xindice.core.filer.BTreeFiler\" />" + = "<collection name='" + segment + "' compressed='true'>" + + " <filer class='org.apache.xindice.core.filer.BTreeFiler'/>" + "</collection>"; try { Modified: xml/xindice/trunk/java/src/org/apache/xindice/core/SystemCollection.java URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/core/SystemCollection.java?view=diff&rev=526352&r1=526351&r2=526352 ============================================================================== --- xml/xindice/trunk/java/src/org/apache/xindice/core/SystemCollection.java (original) +++ xml/xindice/trunk/java/src/org/apache/xindice/core/SystemCollection.java Fri Apr 6 20:14:20 2007 @@ -48,19 +48,19 @@ public static final String ACCESS = "SysAccess"; private static String SYSCOL_DEFINITION - = "<collection name=\"" + SYSCOL + "\">" + = "<collection name='" + SYSCOL + "'>" // System Collections + " <collections>" // Symbol Tables Collection - + " <collection name=\"" + SYMBOLS + "\" compressed=\"true\">" - + " <filer class=\"org.apache.xindice.core.filer.BTreeFiler\" />" + + " <collection name='" + SYMBOLS + "' compressed='true'>" + + " <filer class='org.apache.xindice.core.filer.BTreeFiler'/>" // Textual Representation of Hard-coded Symbol Table + SymbolTableSymbols.getDefinition() + " <indexes/>" + " </collection>" // System Configuration Collection - + " <collection name=\"" + CONFIGS + "\" compressed=\"false\">" - + " <filer class=\"org.apache.xindice.core.filer.BTreeFiler\" />" + + " <collection name='" + CONFIGS + "' compressed='false'>" + + " <filer class='org.apache.xindice.core.filer.BTreeFiler'/>" + " <indexes/>" + " </collection>" + " </collections>" Modified: xml/xindice/trunk/java/src/org/apache/xindice/xml/SymbolTableSymbols.java URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/xml/SymbolTableSymbols.java?view=diff&rev=526352&r1=526351&r2=526352 ============================================================================== --- xml/xindice/trunk/java/src/org/apache/xindice/xml/SymbolTableSymbols.java (original) +++ xml/xindice/trunk/java/src/org/apache/xindice/xml/SymbolTableSymbols.java Fri Apr 6 20:14:20 2007 @@ -37,11 +37,11 @@ private static String SYMBOLS_DEFINITION = "<symbols>" - + " <symbol name=\"" + SYMBOLS + "\" id=\"0\" />" - + " <symbol name=\"" + SYMBOL + "\" id=\"1\" />" - + " <symbol name=\"" + NAME + "\" id=\"2\" />" - + " <symbol name=\"" + ID + "\" id=\"3\" />" - + " <symbol name=\"" + NSURI + "\" id=\"4\" />" + + " <symbol name='" + SYMBOLS + "' id='0'/>" + + " <symbol name='" + SYMBOL + "' id='1'/>" + + " <symbol name='" + NAME + "' id='2'/>" + + " <symbol name='" + ID + "' id='3'/>" + + " <symbol name='" + NSURI + "' id='4'/>" + "</symbols>"; private static SymbolTableSymbols SYMBOLS_INSTANCE;