Changeset 1767


Ignore:
Timestamp:
02/23/12 16:22:34 (12 years ago)
Author:
twagoo
Message:

No longer set SaxonOutputKeys?.INDENT_SPACES when transforming to XSD. Saxon-HE does not allow this extension

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/branches/ComponentRegistry-schematron/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/MDMarshaller.java

    r1751 r1767  
    160160            Transformer transformer = componentToSchemaTemplates.newTransformer();
    161161            transformer.setOutputProperty(OutputKeys.INDENT, "yes");
    162             transformer.setOutputProperty(SaxonOutputKeys.INDENT_SPACES, "1"); //Keeps the downloads a lot smaller.
     162            // We used to also set SaxonOutputKeys.INDENT_SPACES to 1 to keep downloads smaller, but this is no longer available in Saxon-HE
    163163            ByteArrayOutputStream out = new ByteArrayOutputStream();
    164164            MDMarshaller.marshal(spec, out);
Note: See TracChangeset for help on using the changeset viewer.