dbertoni    2003/07/11 17:38:32

  Modified:    c/src/xalanc/XSLT ElemVariable.cpp StylesheetHandler.cpp
  Log:
  Use type-specific accessors in preparation for the derivation change of 
ElemTemplateElement.
  
  Revision  Changes    Path
  1.2       +2 -2      xml-xalan/c/src/xalanc/XSLT/ElemVariable.cpp
  
  Index: ElemVariable.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XSLT/ElemVariable.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ElemVariable.cpp  29 Jun 2003 03:58:07 -0000      1.1
  +++ ElemVariable.cpp  12 Jul 2003 00:38:31 -0000      1.2
  @@ -209,7 +209,7 @@
                        0,
                        this);
        }
  -     else if (getParentNode() != 0)
  +     else if (getParentNodeElem() != 0)
        {
                constructionContext.error(
                        "The ElemVariable instance is already parented and 
cannot be a top-level element.",
  @@ -283,7 +283,7 @@
   {
        if(m_selectPattern == 0)
        {
  -             if (getFirstChild() == 0)
  +             if (getFirstChildElem() == 0)
                {
                        return 
executionContext.getXObjectFactory().createStringReference(s_emptyString);
                }
  
  
  
  1.2       +1 -1      xml-xalan/c/src/xalanc/XSLT/StylesheetHandler.cpp
  
  Index: StylesheetHandler.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XSLT/StylesheetHandler.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StylesheetHandler.cpp     29 Jun 2003 03:58:08 -0000      1.1
  +++ StylesheetHandler.cpp     12 Jul 2003 00:38:32 -0000      1.2
  @@ -1296,7 +1296,7 @@
        else if((StylesheetConstructionContext::ELEMNAME_PARAM == tok) ||
                         StylesheetConstructionContext::ELEMNAME_VARIABLE == 
tok)
        {
  -             if(m_lastPopped->getParentNode() == 0)
  +             if(m_lastPopped->getParentNodeElem() == 0)
                {
                        // Top-level param or variable
                        m_inTemplate = false;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to