[
https://issues.apache.org/jira/browse/JENA-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16280460#comment-16280460
]
Code Ferret commented on JENA-1439:
-----------------------------------
Never flippin mind. located the error. I missed the {{List.remove}} at line
143/144 in {{TetQueryPF.extractArg}}.
Either the list needs to be cloned or more likely the remove simply needs to be
removed, since as coded it is side-effecting the {{List<Node>}} bound in the
{{OpPropFunc}} used in the graph iteration
> graph queries fail to preserve text:query 'lang:xx' arg
> -------------------------------------------------------
>
> Key: JENA-1439
> URL: https://issues.apache.org/jira/browse/JENA-1439
> Project: Apache Jena
> Issue Type: Bug
> Components: Jena
> Affects Versions: Jena 3.5.0
> Environment: Jena 3.6.0-SNAPSHOT
> Reporter: Code Ferret
> Assignee: Code Ferret
> Attachments: TEST_TEXT_001.trig, TEST_TEXT_002.trig,
> TRACING-jena-text-W-cache-W-graph-lang-FUSEKI-3.6.0-SNAPSHOT.txt
>
>
> Jena-text queries that iterate over graphs, such as:
> {code}
> select ?g ?s ?lit
> where {
> graph ?g { (?s ?sc ?lit) text:query (skos:prefLabel "one" "lang:xx") }
> .
> }
> {code}
> fail to pass the {{lang:xx}} after the first graph leading to erroneous
> results.
> A file with configuration, query, trace logging and results is attached along
> with example trig files,
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)