See http://www.w3.org/TR/REC-xml/#NT-S
All CR characters are supposed to be removed from an XML file when parsed. -Stephen 2009/7/30 Nord, James <[email protected]> > Hi all, > > I've created an multi-module archetype and it seems to be working mostly > well. However any multi line comments in the poms are getting written > out as unix line ends and not Windows (which is what the platform and > the original poms files are.) > > e.g > > <project>CRLF > <modelVersion>4.0.0</modelVersion>CRLF > ... > <!-- CRLF > this is a commentCRLF > that spans multiple linesCRLF > -->CRLF > ... > </project> > > gets written as > <project>CRLF > <modelVersion>4.0.0</modelVersion>CRLF > ... > <!-- LF > this is a commentLF > that spans multiple linesLF > -->CRLF > ... > </project> > > If I change the input file to be unix line ends then it all gets written > as unix line ends - but I want it to be all written using the native > line end style (or CRLF if it can't do native). > > How do I achieve that - or is this an archetype bug (2.0-alpha4) > > /James > > > ************************************************************************************** > This message is confidential and intended only for the addressee. If you > have received this message in error, please immediately notify the > [email protected] and delete it from your system as well as any copies. > The content of e-mails as well as traffic data may be monitored by NDS for > employment and security purposes. To protect the environment please do not > print this e-mail unless necessary. > > NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 > 4EX, United Kingdom. A company registered in England and Wales. Registered > no. 3080780. VAT no. GB 603 8808 40-00 > > ************************************************************************************** >
