Project

General

Profile

« Previous | Next » 

Revision 5122

special handling for RDF namespace documents (semtools project)

View differences:

DocumentImpl.java
116 116
    public static final String EML2_0_0NAMESPACE;
117 117
    public static final String EML2_0_1NAMESPACE;
118 118
    public static final String EML2_1_0NAMESPACE;
119
    public static final String RDF_SYNTAX_NAMESPACE;
119 120
    
120 121
    static {
121 122
    	String eml200NameSpace = null;
122 123
    	String eml201NameSpace = null;
123 124
    	String eml210NameSpace = null;
125
    	String rdfNameSpace = null;
124 126
    	try {
125 127
    		eml200NameSpace = PropertyService.getProperty("xml.eml2_0_0namespace");
126 128
    		eml201NameSpace = PropertyService.getProperty("xml.eml2_0_1namespace");
127 129
    		eml210NameSpace = PropertyService.getProperty("xml.eml2_1_0namespace");
130
    		rdfNameSpace = PropertyService.getProperty("xml.rdf_syntax_namespace");
128 131
    	} catch (PropertyNotFoundException pnfe) {
129 132
    		System.err.println("Could not get property in static block: " 
130 133
					+ pnfe.getMessage());
......
136 139
        // "eml://ecoinformatics.org/eml-2.0.1";
137 140
        EML2_0_0NAMESPACE = eml200NameSpace;
138 141
        // "eml://ecoinformatics.org/eml-2.0.0";
142
        RDF_SYNTAX_NAMESPACE = rdfNameSpace;
139 143
    }
140 144
     
141 145
    public static final String DOCNAME = "docname";

Also available in: Unified diff