Uploaded image for project: 'Santuario'
  1. Santuario
  2. SANTUARIO-208

no way to indent xmldsig elements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Java
    • Security Level: Public (Public issues, viewable by everyone)
    • None
    • Operating System: Windows XP
      Platform: PC
    • 48126

    Description

      There is (probably) no way to indent (format as I wish) XML Signature elments created through xmldsig Java API.
      It would be helpful to have a way to indenting XML output like in javax.xml.transform TransformerFactory and Transformer classes throgh tf.setAttribute("indent-number", new Integer(2)) and t.setOutputProperty(OutputKeys.INDENT, "yes");
      Post-creation transformation cannot be used in conjuction with standard canonicalization methods (CanonicalizationMethod.EXCLUSIVE_WITH_COMMENTS, CanonicalizationMethod.EXCLUSIVE, CanonicalizationMethod.INCLUSIVE_WITH_COMMENTS,CanonicalizationMethod.INCLUSIVE), so there is no way to achive "pretty print".

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wollis William Wollis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: