Hi,
we have a problem with the locator specification of TMAPI.
What does the getReference method mean, should it returns the given
string reference of the locator without any escaped characters? If the
constructor of Locator is called by an escaped references, like by using
the topic map reader classes, should it be decoded before saving the
reference or not?
The problem is that the JUnit test expects the behaviour of accepting a
unescaped whitespace for example as reference of the locator object. The
topic map reader will throw an expection if the locator contained by a
topic block has unescaped whitespaces. Because of that the constructor
of locator will be called by unescaped and escaped IRI, which is very
confusing. What is the expected behaviour?
Sven
|