QName data binding doesn't handle unprefixed names
--------------------------------------------------

                 Key: MASHUP-737
                 URL: https://wso2.org/jira/browse/MASHUP-737
             Project: WSO2 Mashup Server
          Issue Type: Bug
            Reporter: Jonathan Marsh
            Assignee: Keith Godwin Chapman
             Fix For: 1.1


qname.js

foo.inputTypes="xs:QName";
foo.outputType="xs:QName";
function foo(qn){
    print(qn.uri == null);  // Should return false when value has no prefix
    print(qn.localName);
    return qn;
}

Invoke using tryit (rev 15246 or later) with a blank namespace uri and an 
uprefixed lexical QName.  The .uri property of the QName should be null, and 
the output should indicate "true" in the log - instead it appears to be the 
string value "null".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to