On 08/06/12 13:42, dafNi wrote:
hello!
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?
Does that problem have a solution or I should just change the RDF file?
It has to do with XML -- XML does not allowing qnames to have a local
part starting with a number.
Solution:
1/ use Turtle.
2/ Just don't look at the RDF/XML - it moves triples around, just don't
look at it.
Andy
Thank you in advance
dafNi