Menu

#2 fix in obix/Obj.java: getNormalizedHref

open
nobody
None
5
2012-09-05
2012-09-05
No

When the parent of the current node is not root, then the normalized href of the current node shall be built respecting the href of the parent, not solely of the root-object.

Add in obix/Obj.java, line 183:
public Uri getNormalizedHref()
{
if (href = null) return null;
+ if (parent != null) return href.normalize(getParent().getNormalizedHref());
return href.normalize(getRoot().getHref());
}

Discussion


Log in to post a comment.