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=44177>. 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=44177 Summary: when using xslt transformation there is problem with xalan newline Product: Security Version: unspecified Platform: Other OS/Version: Windows XP Status: NEW Severity: major Priority: P2 Component: Signature AssignedTo: security-dev@xml.apache.org ReportedBy: [EMAIL PROTECTED] When signature has xslt transformation reference, there is a problem, because xalan changes new lines in transformed output to \n on linux and \r\n on windows, regardles of newline type in input file. Consequence is that signature is invalid when validating on different OS. This should be consistent everywhere if signature is to be valid. You could use something like Transformer.setOutputProperty("{http://xml.apache.org/xalan}line-separator","\n"); .Net uses \n as newline separator when using xslt transformation. But what does w3c standard say ? -- 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.