-
1. Re: New lines in XML process definitions
salaboy21 Mar 11, 2009 11:31 AM (in response to davidperez)this is not a bug..
is like an standard behavior of the xml parser libraries...
try using some encoded character to do that.. like \n..
This also depends on where do you wanna see this line break.. -
2. Re: New lines in XML process definitions
kukeltje Mar 11, 2009 9:46 PM (in response to davidperez)or e.g. wrap it in a cdata section
-
3. Re: New lines in XML process definitions
davidperez Mar 12, 2009 4:47 AM (in response to davidperez)Thanks for your suggestion, but how do I control that?
My idea is to replace \n by #&10;, as the data that has embedded newlines is a XSLT style sheet."kukeltje" wrote:
or e.g. wrap it in a cdata section -
4. Re: New lines in XML process definitions
davidperez Mar 12, 2009 4:48 AM (in response to davidperez)Not so standard behaviour, newlines are regular characters for XML.
The only special ones are:
&, <, >, =, ", '"salaboy21" wrote:
this is not a bug..
is like an standard behavior of the xml parser libraries...
try using some encoded character to do that.. like \n..
This also depends on where do you wanna see this line break.. -
5. Re: New lines in XML process definitions
kukeltje Mar 12, 2009 10:06 AM (in response to davidperez)hmmm.... multiline properties... why not do
<myProperties> <myProperty>Line1</myProperty> <myProperty>Line2</myProperty> </myProperties>
Much neater..
cdata: http://www.w3schools.com/XML/xml_cdata.asp (not sure if it works, just a suggestion -
6. Re: New lines in XML process definitions
salaboy21 Mar 12, 2009 10:20 AM (in response to davidperez)Are you saying that reading all the content in the tag, not in two separate lines is not standard? please check at DOM, SAX and Xerces implementation for that..
I don't really know about that.. but I take it as a regular behavior...
I think that is not a jBPM problem....
Hope it helps