On Friday, June 08, 2012 03:42:18 PM dafNi wrote:

> I have noticed that when I define (in RDF) one class/property/individual 
> with a
> number as a name, then when I use the method: getLocalName, the name is 
> empty.
> Does that have to do with java not letting variable names to be numbers?

No.

It's to do with the RDF/XML rules for legal local names.

> Does that problem have a solution or I should just change the RDF file?

I'd change the RDF file. I'd also try to avoid getLocalName -- for this
reason. (Sometimes it's the best thing to do, often it's a sign you
should adjust your design.)

Chris
 
-- 
"I don't want to know what the Structuralists think! I want     /Archer's Goon/
 to know what YOU think!"

Epimorphics Ltd, http://www.epimorphics.com
Registered address: Court Lodge, 105 High Street, Portishead, Bristol BS20 6PT
Epimorphics Ltd. is a limited company registered in England (number 7016688)

Reply via email to