Changeset 1770


Ignore:
Timestamp:
02/24/12 14:36:50 (12 years ago)
Author:
twagoo
Message:

No more indenting of XSD

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  
    159159        try {
    160160            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-HE
    163161            ByteArrayOutputStream out = new ByteArrayOutputStream();
    164162            MDMarshaller.marshal(spec, out);
  • ComponentRegistry/branches/ComponentRegistry-schematron/ComponentRegistry/src/test/resources/spring-config/component-registry.xml

    r1768 r1770  
    66    <bean id="configuration" class="clarin.cmdi.componentregistry.Configuration" factory-method="getInstance">
    77        <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" />
    910        <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/" />
    1317    <!-- Extra attribute keys that are passed in a shibboleth authenticated request principal.
    1418         You need to configure the shhaa.xml file to enable the extra attributes.
    1519     -->
    16         <property name="displayNameShibbolethKeys">
    17             <list>
    18                 <value>displayName</value>
    19                 <value>commonName</value>
    20             </list>
    21         </property>
     20        <property name="displayNameShibbolethKeys">
     21            <list>
     22                <value>displayName</value>
     23                <value>commonName</value>
     24            </list>
     25        </property>
    2226    </bean>
    2327</beans>
Note: See TracChangeset for help on using the changeset viewer.