This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jun 17, 2011, 11:46 AM
54 Posts

Numeric value in span or div id causes an error

  • Category: Other
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: error
  • Replies: 2
I'm trying to solve a vierd Runtime Exception in SPAN / DIV id value. The exception occures when the id has a numeric value.
 
e.g. following id value cases an error:
<span id="1">test</span>

but
<span id="a1">test</span>
 works just fine
 
Is this a bug or have I just missed something on span/div rules?
 
Server version is 8.5.2.
Jun 20, 2011, 2:13 PM
25 Posts
Re: Numeric value in span or div id causes an error
 Rami,
 
All HTML Element IDs must start with a letter (A-Za-z) and can be followed by any number of letters, digits(0-9), hyphens, underscores, colons and periods.
 
Keith 
Jun 23, 2011, 5:42 PM
54 Posts
Re: Numeric value in span or div id causes an error
Hi Keith,
Thanks for your answer. 
 
So this is based on some "rule" or regulation. I found a work around to my problem, but I'm trying to learn the real facts, so we can avoid doing stuff wrong (since Domino allows this but Xpages not).

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal