You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by ga...@locus.apache.org on 2000/11/01 18:00:56 UTC

cvs commit: xml-xalan/src/org/apache/xalan/xslt ResultTreeFrag.java UnImplNode.java

garyp       00/11/01 09:00:53

  Modified:    src/org/apache/xalan/xslt ResultTreeFrag.java
                        UnImplNode.java
  Log:
  Implement Node.isSupported().
  
  Revision  Changes    Path
  1.8       +8 -0      xml-xalan/src/org/apache/xalan/xslt/ResultTreeFrag.java
  
  Index: ResultTreeFrag.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xslt/ResultTreeFrag.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ResultTreeFrag.java	2000/07/31 23:56:12	1.7
  +++ ResultTreeFrag.java	2000/11/01 17:00:49	1.8
  @@ -395,6 +395,14 @@
     }
   
     /** Unimplemented. */
  +  public boolean         isSupported(String feature,
  +                                     String version)
  +  {
  +    error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"supports not supported!");
  +    return false;
  +  }
  +
  +  /** Unimplemented. */
     public String             getNamespaceURI()
     {
       error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getNamespaceURI not supported!");
  
  
  
  1.11      +8 -0      xml-xalan/src/org/apache/xalan/xslt/UnImplNode.java
  
  Index: UnImplNode.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xslt/UnImplNode.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- UnImplNode.java	2000/07/31 23:56:13	1.10
  +++ UnImplNode.java	2000/11/01 17:00:50	1.11
  @@ -377,6 +377,14 @@
     }
   
     /** Unimplemented. */
  +  public boolean         isSupported(String feature,
  +                                     String version)
  +  {
  +    error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"supports not supported!");
  +    return false;
  +  }
  +
  +  /** Unimplemented. */
     public String             getNamespaceURI()
     {
       error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getNamespaceURI not supported!");