sboag       00/02/13 11:40:14

  Modified:    src/org/apache/xalan/xslt Stylesheet.java
                        StylesheetHandler.java
  Log:
  Fixed namespace problem with extensions.
  
  Revision  Changes    Path
  1.27      +2 -1      xml-xalan/src/org/apache/xalan/xslt/Stylesheet.java
  
  Index: Stylesheet.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xslt/Stylesheet.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- Stylesheet.java   2000/02/13 16:42:44     1.26
  +++ Stylesheet.java   2000/02/13 19:40:14     1.27
  @@ -382,7 +382,8 @@
       if(uri.equals(m_XSLNameSpaceURL)
          || (null != lookupExtensionNSHandler(uri))
          || uri.equals("http://xml.apache.org/xslt";)
  -       || uri.equals("http://xsl.lotus.com/";))
  +       || uri.equals("http://xsl.lotus.com/";)
  +       || uri.equals("http://xsl.lotus.com";))
         return true;    
       
       while(null != elem)
  
  
  
  1.17      +4 -2      
xml-xalan/src/org/apache/xalan/xslt/StylesheetHandler.java
  
  Index: StylesheetHandler.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/src/org/apache/xalan/xslt/StylesheetHandler.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- StylesheetHandler.java    2000/02/13 16:42:44     1.16
  +++ StylesheetHandler.java    2000/02/13 19:40:14     1.17
  @@ -449,7 +449,8 @@
           case Constants.ELEMNAME_EXTENSION:
             {
               if((null != ns) && !(ns.equals("http://xml.apache.org/xslt";) ||
  -                                 ns.equals("http://xsl.lotus.com/";)))
  +                                 ns.equals("http://xsl.lotus.com/";) ||
  +                                 ns.equals("http://xsl.lotus.com";)))
               {
                 
m_processor.warn(XSLTErrorResources.WG_FUNCTIONS_SHOULD_USE_URL, new Object[] 
{m_processor.m_XSLT4JNameSpaceURL}); //"Old syntax: the functions instruction 
should use a url of "+m_processor.m_XSLT4JNameSpaceURL);
               }
  @@ -894,7 +895,8 @@
       // BEGIN SANJIVA CODE
       else if (!m_inTemplate && (null != ns) &&
                (ns.equals ("http://xml.apache.org/xslt";)
  -              || ns.equals("http://xsl.lotus.com/";)))
  +              || ns.equals("http://xsl.lotus.com/";)
  +              || ns.equals("http://xsl.lotus.com";)))
       {
         if (localName.equals ("component")) 
         {
  
  
  

Reply via email to