From: Dennis Schafroth Date: Thu, 16 Feb 2012 12:07:59 +0000 (+0100) Subject: Removed : from prefix. Adding manually X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=dbe8d32995de1a30d71d172557657b47ee65a446;p=marc4j.git Removed : from prefix. Adding manually --- diff --git a/src/org/marc4j/TurboMarcXmlWriter.java b/src/org/marc4j/TurboMarcXmlWriter.java index 956069a..1c798a6 100644 --- a/src/org/marc4j/TurboMarcXmlWriter.java +++ b/src/org/marc4j/TurboMarcXmlWriter.java @@ -184,25 +184,25 @@ public class TurboMarcXmlWriter extends BaseMarcXmlWriter { /** NS URI */ public static final String TURBO_MARCXML_NS_URI = "http://www.indexdata.com/turbomarc"; - protected static final String prefix = "tmarc:"; + protected static final String prefix = "tmarc"; protected static final String CONTROLFIELD = "c"; - protected static final String Q_CONTROL_FIELD = prefix + CONTROLFIELD; + protected static final String Q_CONTROL_FIELD = prefix + ":" + CONTROLFIELD; protected static final String DATAFIELD = "d"; - protected static final String Q_DATA_FIELD = prefix + DATAFIELD; + protected static final String Q_DATA_FIELD = prefix + ":" + DATAFIELD; protected static final String SUBFIELD = "s"; - protected static final String Q_SUBFIELD = prefix + SUBFIELD; + protected static final String Q_SUBFIELD = prefix + ":" + SUBFIELD; protected static final String COLLECTION = "collection"; - protected static final String Q_COLLECTION = prefix + COLLECTION; + protected static final String Q_COLLECTION = prefix + ":" + COLLECTION; protected static final String RECORD = "r"; - protected static final String Q_RECORD = prefix + RECORD; + protected static final String Q_RECORD = prefix + ":" + RECORD; protected static final String LEADER = "l"; - protected static final String Q_LEADER = prefix + LEADER; + protected static final String Q_LEADER = prefix + ":" + LEADER; /** * Constructs an instance with the specified output stream.