Invalid characters on Control Name

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Invalid characters on Control Name

bruno.buzzi
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Invalid characters on Control Name

Alessandro  Vernet
Administrator
Hi Bruno,

Form Builder just wants the value to be an NCName (validated with type="xs:NCName" in the XForms of the dialog itself, see dialog-control-details.xbl). This allows characters with accents, or Chinese characters for that matter, which is the idea, as we can imagine some form authors would prefer to use names written in their own non-English language.

I've tried to create a field named "prénom", I can then reference it from an XPath expression with $prénom, and didn't notice any issue. In the DOM, the id of the field with contain "prénom", which again shouldn't be a problem. Did you notice any specific issue when using non-ASCII characters in control names?

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Invalid characters on Control Name

bruno.buzzi
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Invalid characters on Control Name

Alessandro  Vernet
Administrator
Bruno, good, and thanks for the update; I'm glad this doesn't reveal some underlying issue.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet