enonic / doc-xp

Enonic XP > 7.0 Reference Documentation
2 stars 4 forks source link

Research and document allowed characters for field names in node and content layers #198

Open alansemenov opened 3 years ago

alansemenov commented 3 years ago

The documentation for Node API says the following:

Some characters are illegal in a property key. Here’s a list of illegal characters:

_ is system reserved prefix

. is the path separator.

[ and ] are array index indicators.

Find out if it's a full list and update the docs if it's not.

For Content layer allowed characters are not described at all. Is it the same as for the Node layer? Should be documented here.

rymsha commented 2 years ago

Find out if it's a full list and update the docs if it's not.

It would be not trivial, unfortunately. We have some issues with allowed characters https://github.com/enonic/xp/issues/6777 It would be better to implement proper ones.