Jukka,
yes no problems. I will file it as a bug. And yes, I think that
exportVisitor, providing a simple way to customize the XML
presentation of a JCR subtree is quite useful for a RESTful XSLT
presentation layer of a JCR. In fact, that's why I use it.
Alessandro
On Jun 13, 2007, at 9:25 AM, Jukka Zitting wrote:
Hi,
On 6/13/07, Alessandro Bologna <[EMAIL PROTECTED]> wrote:
Just be sure to fix the line in escapeName(), otherwise you will not
like the document that much...
>if ((i == 0) ? XMLChar.isNCNameStart(ch) :
XMLChar.isNCName(ch)) {
<if ((i == 0) ? !XMLChar.isNCNameStart(ch) : !
XMLChar.isNCName(ch)) {
The test should be with a not (!).
I forgot to mention that in my previous reply, and maybe the project
owner can fix it?
Sure, thanks for catching that! Could you file a a bug report for
that?
If there's interest in the ExportVisitor functionality, we could make
it available in jackrabbit-jcr-commons in the 1.4 release.
BR,
Jukka Zitting