truncated URI in QName.fromClarkName
Added by Anonymous almost 15 years ago
Legacy ID: #7746629 Legacy Poster: David Lee (daldei)
The S9API function QName.fromClarkName truncates the URI by 1 letter. Version 9.1.0.5 of S9API Stepping through QName.fromClarkName() Passing the following string {http://demo.com/demo}test This code (line 144 in QName.java) namespaceURI = expandedName.substring(1, closeBrace - 1); Produces this for the URL (truncated by 1 character) "http://demo.com/dem" Changing the full clarkname to {http://demo.com/demoX}test works fine (it removes the "X") ... Since this function is public, and uses a public constructor under the hood it can be worked around by rewriting a fixed version of the function.
Replies (1)
RE: truncated URI in QName.fromClarkName
-
Added by Anonymous almost 15 years ago
Legacy ID: #7751408 Legacy Poster: Michael Kay (mhkay)
Thanks for reporting this, it is now logged on the bug tracker, and a fix is in Subversion for both the 9.1 and 9.2 branches.
Please register to reply