~zorba-coders/zorba/bug1064978

« back to all changes in this revision

Viewing changes to modules/xqxq/xqxq.xq.src/xqxq.cpp

  • Committer: Juan Zacarias
  • Date: 2013-04-25 22:12:45 UTC
  • Revision ID: juan457@gmail.com-20130425221245-a5g8qyx1ge5gsqga
Renamed DynamicContext Function getVariableType to getVariablePrimeType it also returns a QName Item now.
XQXQ function xqxq:variable-type renamed to xqxq:variable-type-name it also returns a xs:QName. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
    {
86
86
      lFunc = new VariableValueFunction(this);
87
87
    }
88
 
    else if (localName == "variable-type")
 
88
    else if (localName == "variable-type-name")
89
89
    {
90
90
      lFunc = new VariableTypeFunction(this);
91
91
    }
1001
1001
  Item lType;
1002
1002
  try
1003
1003
  {
1004
 
    if(!lCtx->getVariableType(lNS, lLocal, lType))
 
1004
    if(!lCtx->getVariablePrimeType(lNS, lLocal, lType))
1005
1005
    {
1006
1006
      std::ostringstream lMsg;
1007
1007
      lMsg << lLocal << ": variable not bound";