> When I view the page, the <query/> element (which has Tabs in) shows > rows of 'box' characters. > > Is this a 'feature' or is it a bug in MacOS JVM 1.4.1 DP10?
It's not a MacOS X specific JVM issue, since I see this on Linux as well. On the other hand, it's probably a general JVM limitation that could be worked around by having XXE compute the tab positions and replace them with spaces, but that would have the undesirable effect of changing the literal content. You could argue that this really is a 'feature' since it allows you to tell whether tabs or spaces are in use, a distinction which might be important in some cases (e.g. Makefiles). It's not too hard to just avoid using tabs in the XML source; if the content of the query is automatically generated from an external file where using tabs is necessary or desirable, you can replace them with spaces at the same time that you quote or otherwise protect XML special characters. The attached xmlquote perl script illustrates tab expansion; it uses CDATA sections for the quoting, which is easier on the eyes than lots of & if you are quoting XML text. @alex -------------- next part -------------- A non-text attachment was scrubbed... Name: xmlquote Type: application/octet-stream Size: 1329 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20030221/276bc8f5/attachment.dll

