RE: Why no digits allowed in property name?

"Tim Anderson" <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
The problem is the '-' characters. These aren't valid characters
in an identifier.

> From: Jacob Ven
> 
> I tried to use the UML uuid as a message property name where 
> the uuid looks something like
> 00000-00abc00-42000034
> I therefor prefixed it with a capital 'U'.
> However openJMS is throwing an exception that this is an 
> invalid name.  Reading the JMS javadoc for Message it states:
> 
> An identifier is an unlimited-length sequence of letters and 
> digits, the first of which must be a letter. A letter is any 
> character for which the method Character.isJavaLetter returns 
> true. This includes '_'
> and '$'. A letter or digit is any character for which the 
> method Character.isJavaLetterOrDigit returns true.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.