On 2014-06-13 15:37, Tobias Bocanegra wrote:
On Thu, Jun 12, 2014 at 10:55 PM, Julian Reschke <julian.resc...@gmx.de> wrote:
On 2014-06-13 02:14, Tobias Bocanegra wrote:

Hi,

according to [0] oak does not allow a non-space whitespace in the
name. this is different than in jackrabbit. also it should be allowed
based on [1].

the problem at hand is, that we have content with 'no-break-space'
chars in node names, that doesn't install in oak anymore.

regards, toby

[0]
https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/name/Namespaces.java#L252

[1] http://www.w3.org/TR/xml/#NT-Char


Looking at Jackrabbit's PathParser
(org.apache.jackrabbit.spi.commons.conversion), it seems that non-SP
whitespace characters aren't allowed here either.

but creating nodes with such chars works. so, is it a bug or not?

Does it?

Maybe there's a higher-level component that actually converts non-SP whitespace to proper whitespace before passing the name to JCR?

Best regards, Julian

Reply via email to