Node.ANY is not detected as a variable
--------------------------------------

                 Key: JENA-70
                 URL: https://issues.apache.org/jira/browse/JENA-70
             Project: Jena
          Issue Type: Improvement
          Components: Jena
            Reporter: Laurent Pellegrino


In the javadoc it is said "A Node_ANY (there should be only one) is a meta-node 
that is used to stand *for any* other node in a query". Hence, I was expecting 
that any call to isVariable, isLiteral, isURI, etc. return true.

Iam raising this issue because in OutputLangUtils it is not possible to output 
(serialize) a Node_ANY. Hence, I think there is two solutions to support it. 
Either we can add a small code to handle the issue in the output method from 
OutputLangUtils or we can correct the Node_ANY class to support what is stated 
by the javadoc (by overriding is* and getName, getURI, methods). 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to