You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vxquery.apache.org by "Preston Carman (JIRA)" <ji...@apache.org> on 2012/09/25 23:54:07 UTC

[jira] [Created] (VXQUERY-79) Static Type Check Failure

Preston Carman created VXQUERY-79:
-------------------------------------

             Summary: Static Type Check Failure
                 Key: VXQUERY-79
                 URL: https://issues.apache.org/jira/browse/VXQUERY-79
             Project: VXQuery
          Issue Type: Bug
            Reporter: Preston Carman


The following query fails because prefix-from-Qname returns a NCName instead of a string which is wanted by upper-case. Since NCName is derived from String this should be an ok query due to sub type substitution.

fn:upper-case(fn:prefix-from-QName(xs:QName("foo:bar")))

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (VXQUERY-79) Static Type Check Failure for Derived String Types

Posted by "Preston Carman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VXQUERY-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Preston Carman reassigned VXQUERY-79:
-------------------------------------

    Assignee: Preston Carman
    
> Static Type Check Failure for Derived String Types
> --------------------------------------------------
>
>                 Key: VXQUERY-79
>                 URL: https://issues.apache.org/jira/browse/VXQUERY-79
>             Project: VXQuery
>          Issue Type: Bug
>            Reporter: Preston Carman
>            Assignee: Preston Carman
>
> The following query fails because prefix-from-Qname returns a NCName instead of a string which is wanted by upper-case. Since NCName is derived from String this should be an ok query due to sub type substitution.
> fn:upper-case(fn:prefix-from-QName(xs:QName("foo:bar")))

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (VXQUERY-79) Static Type Check Failure for Derived String Types

Posted by "Preston Carman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VXQUERY-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Preston Carman resolved VXQUERY-79.
-----------------------------------

    Resolution: Fixed

Vinayak reminded me this was a generic error. The changes made to my local promote operator were causing issue with this query. The promote operator has been fixed and this issue is resolved.
                
> Static Type Check Failure for Derived String Types
> --------------------------------------------------
>
>                 Key: VXQUERY-79
>                 URL: https://issues.apache.org/jira/browse/VXQUERY-79
>             Project: VXQuery
>          Issue Type: Bug
>            Reporter: Preston Carman
>            Assignee: Preston Carman
>
> The following query fails because prefix-from-Qname returns a NCName instead of a string which is wanted by upper-case. Since NCName is derived from String this should be an ok query due to sub type substitution.
> fn:upper-case(fn:prefix-from-QName(xs:QName("foo:bar")))

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (VXQUERY-79) Static Type Check Failure for Derived String Types

Posted by "Preston Carman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VXQUERY-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Preston Carman updated VXQUERY-79:
----------------------------------

    Summary: Static Type Check Failure for Derived String Types  (was: Static Type Check Failure)
    
> Static Type Check Failure for Derived String Types
> --------------------------------------------------
>
>                 Key: VXQUERY-79
>                 URL: https://issues.apache.org/jira/browse/VXQUERY-79
>             Project: VXQuery
>          Issue Type: Bug
>            Reporter: Preston Carman
>
> The following query fails because prefix-from-Qname returns a NCName instead of a string which is wanted by upper-case. Since NCName is derived from String this should be an ok query due to sub type substitution.
> fn:upper-case(fn:prefix-from-QName(xs:QName("foo:bar")))

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira