Hi Martijn,

On 5/3/07, Martijn Hendriks <[EMAIL PROTECTED]> wrote:
Hi,

During the testing of a clustered Jackrabbit 1.3 setup we came across
the issue that spaces in the names of nodetype definitions (which is
allowed by the JSR 170 spec if I remember correctly) cause
JournalExceptions:

This is caused by something like this in the revision data:

  - wo:form_new routing (string)

I guess that this is a bug, or are spaces in propertynames forbidden?

You're right, it is a bug, namely:

 http://issues.apache.org/jira/browse/JCR-895

Internally, nodetype registrations were saved as embedded CNDs in the
journal and QName(s) were not escaped. Since a space is treated as a
whitespace delimeter, this caused the parsing error you described when
reading back a QName with spaces in it.

I fixed this bug in the main trunk. Thank you very much for reporting it!

Kind regards
Dominique


Best regards,

Martijn Hendriks
<GX> creative online development B.V.

t: 024 - 3888 261
f: 024 - 3888 621
e: [EMAIL PROTECTED]

Wijchenseweg 111
6538 SW Nijmegen
http://www.gx.nl/

Reply via email to