Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Correctly serialize baseurl/FooResource references #688
This PR fixes #659.
The cause was found to be in the parsing of reference values as IdDt or IdType objects. Given an example reference value of 'http://my.org/Foo', 'my.org' was treated as the resource type while 'Foo' was treated as the resource id, which I believe is wrong.
setValue() was hence modified such that when it encounters an url of the aforementioned form, it'll treat 'Foo' as the resource type rather than the id. It also sets a number of internal variables such that a call to getValue() will give the correct output.