On 23/09/13 18:15, Claude Warren (JIRA) wrote:
Claude Warren created JENA-543:
----------------------------------
Summary: Seq created from resource in another model results in
Seq from the wrong model.
Key: JENA-543
URL: https://issues.apache.org/jira/browse/JENA-543
Project: Apache Jena
Issue Type: Bug
Components: Jena
Affects Versions: Jena 2.11.0
Reporter: Claude Warren
Create model 1.
Create a resource in model 1
Create model 2
call Seq s = model2.getSeq( resource )
s.getModel() == model1 is true
s.getModel() == model2 is false
s.getModel() should return model2
A general point here - this is a proposed chnage to the functionality of
the RDF API. I tend towards expecting the model to be model m2 but at
the same time I see that it has been the other way for quite sometime.
Should it be changed or do we accept that it is what it is?
Is is really a matter of javadoc?
There is a hint in:
"""
The Seq is assumed to already exist in the model. If it does not,
createAlt should be used instead.
"""
Andy