DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42061>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42061

           Summary: Method to disable XMLUtils.addReturnToElement
           Product: Security
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Signature
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: [EMAIL PROTECTED]


Some Signature consumers are not able to accept Signatures containing 
whitespace in certain places even though the standard allows for it.

An example of a solution would be:

public static void addReturnToElement(Element e) {
  if (null == System.getProperty
("org.apache.xml.security.util.XMLUtils.ignoreAddReturnToElement")) {
    Document doc = e.getOwnerDocument();
    e.appendChild(doc.createTextNode("\n"));
  }
}

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to