On Monday 08 November 2004 15:10, Michiel Meeuwissen wrote: > Michiel Meeuwissen wrote: > > I don't think so. &#-xml references refer to Unicode. > > See e.g.: http://www.oreilly.de/catalog/docbook/chapter/book/ch01.html > > In XML, the numeric character number is always the Unicode character > number. In addition, XML allows hexadecimal numeric character references of > the form &#xhhhh;. In SGML, the numeric character number is a number from > the document character set that's declared in the SGML declaration.
Let met clarify: We use the html(field) on alot of pages, some of them render themself in xml, others are html, and in my case I go from jsp -> xml -> html. In the code (MMObjectBuilder.java) the html(field) does the following: "\n\r\n\r" converted to "<br /> <br />" The main issue is: - is the cosmetic or does it have a deeper meaning? If it is cosmetic (if you do a view-source on a page and there is a space between the <br /> <br /> only to make things more readable) then I would want to propose to rip this thing out anyway. gr, marcel