You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Laurent Pellegrino (JIRA)" <ji...@apache.org> on 2011/06/01 18:08:47 UTC
[jira] [Updated] (JENA-70) Node.ANY is not detected as a variable
[ https://issues.apache.org/jira/browse/JENA-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laurent Pellegrino updated JENA-70:
-----------------------------------
Description:
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 are 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, etc. methods).
was:
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 are 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).
> 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
> Labels: jena, node.any
>
> 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 are 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, etc. methods).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira