santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Pelton" <>
Subject RE: What is XMLUtils::addReturnToElement for?
Date Wed, 04 Apr 2007 18:40:48 GMT
By my reading of the Apache License, Version 2.0 (which is the XML
Security license), you are under no obligation to distribute source

Of course, if you plan to distribute the code for your project, that
pretty much has to include your modifications to XML Security code.  If
that's the situation, consider opening a bug report and attaching a
patch that implements the desired change.

I know nothing of the code in question, but it sounds to me like it
would be better to conditionally skip the call to addReturnToElement()
rather than changing its behavior.  With a name like that, I think it
would be astonishing if it didn't add a line break under any
circumstances.  Of course, you'd ideally have a clean, flexible, robust
mechanism for controlling where breaks are added.

-----Original Message-----
From: Michael McIntosh [] 
Sent: Wednesday, April 04, 2007 1:28 PM
Subject: What is XMLUtils::addReturnToElement for?

I know what XMLUtils::addReturnToElement does, by why do it?
I acknowledge that adding the occasional line to an XML document makes
more readable in certain circumstances, but I'd really like to be able
turn it off.
Actually I'd like to leave it alone, but a system I need to interoperate

with cannot accept Signatures with whitespaces in certain places.
No need to tell me its should be allowed - I know - but I cannot change 
their code.
I have a fix - which is to change the source code for the funciton to
it into a no-op when a system property is set, but I'd like to not need
redistribute my modified Apache source code.


Michael McIntosh
Java and Web Services Security Group
Security, Privacy, and Extensible Technologies Department
IBM Research

View raw message