Perhaps it is due to the XML parser behaving correctly. A conforming XML parser must normalize the whitespace character (new line) to a space. This particular requirement is in the specification at: http://www.w3.org/TR/REC-xml/#AVNormalize
The first example shows this behavior. Best regards, Tom Morrison -----Original Message----- From: neerajiiita [mailto:neerajii...@gmail.com] Sent: Thursday, February 28, 2013 12:23 AM To: fop-users@xmlgraphics.apache.org Subject: RE: FOP 1.1 - Unable to break line in PDF Hi Simon, Thanks for reply. I already specified in my problem that if use a text with new-line char as element text then its working: Example: <Title> Line 1 Line 2 </Title> But if i use same text as attribute it is not working, while it was perfectly working with FOP .20.5 Example <Title Text="Line 1 Line 2 "> </Title> -- View this message in context: http://apache-fop.1065347.n5.nabble.com/FOP-1-1-Unable-to-break-line-in-PDF-tp38057p38064.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org