Changeset 1770
- Timestamp:
- 02/24/12 14:36:50 (12 years ago)
- Location:
- ComponentRegistry/branches/ComponentRegistry-schematron/ComponentRegistry/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/branches/ComponentRegistry-schematron/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/MDMarshaller.java
r1767 r1770 159 159 try { 160 160 Transformer transformer = componentToSchemaTemplates.newTransformer(); 161 transformer.setOutputProperty(OutputKeys.INDENT, "yes");162 // We used to also set SaxonOutputKeys.INDENT_SPACES to 1 to keep downloads smaller, but this is no longer available in Saxon-HE163 161 ByteArrayOutputStream out = new ByteArrayOutputStream(); 164 162 MDMarshaller.marshal(spec, out); -
ComponentRegistry/branches/ComponentRegistry-schematron/ComponentRegistry/src/test/resources/spring-config/component-registry.xml
r1768 r1770 6 6 <bean id="configuration" class="clarin.cmdi.componentregistry.Configuration" factory-method="getInstance"> 7 7 <property name="adminUsersList" value="JUnit.Admin@test.com" /> 8 <property name="generalComponentSchema" value="http://www.clarin.eu/cmd/general-component-schema.xsd" /> 8 9 <property name="generalComponentSchema" value="http://www.clarin.eu/cmd/general-component-schema.xsd" /> 9 10 <property name="component2SchemaXsl" value="http://www.clarin.eu/cmd/xslt/comp2schema-v2/comp2schema.xsl"/> 10 <!-- <property name="component2SchemaXsl" value="file:/Users/twagoo/Documents/Repositories/svn.clarin.eu/metadata/trunk/toolkit/xslt/comp2schema-v2/comp2schema.xsl"/>--> 11 <property name="componentSpecSchemaLocation" value="http://www.clarin.eu/cmd http://www.clarin.eu/cmd/general-component-schema.xsd" /> 12 <property name="isocatRestUrl" value="http://www.isocat.org/rest/" /> 11 12 <!-- <property name="generalComponentSchema" value="file:/Users/twagoo/Documents/Repositories/svn.clarin.eu/ComponentRegistry/branches/ComponentRegistry-schematron/CMDValidate/src/test/resources/schema/general-component-schema.xsd" /> 13 <property name="component2SchemaXsl" value="file:/Users/twagoo/Documents/Repositories/svn.clarin.eu/metadata/trunk/toolkit/xslt/comp2schema-v2/comp2schema.xsl"/>--> 14 15 <property name="componentSpecSchemaLocation" value="http://www.clarin.eu/cmd http://www.clarin.eu/cmd/general-component-schema.xsd" /> 16 <property name="isocatRestUrl" value="http://www.isocat.org/rest/" /> 13 17 <!-- Extra attribute keys that are passed in a shibboleth authenticated request principal. 14 18 You need to configure the shhaa.xml file to enable the extra attributes. 15 19 --> 16 17 18 19 20 21 20 <property name="displayNameShibbolethKeys"> 21 <list> 22 <value>displayName</value> 23 <value>commonName</value> 24 </list> 25 </property> 22 26 </bean> 23 27 </beans>
Note: See TracChangeset
for help on using the changeset viewer.