sboag       00/12/18 06:07:39

  Modified:    java/src/org/apache/xalan/templates StylesheetRoot.java
  Log:
  Changed the reference to XSLTSchema to hashtable of available elements.
  This should fix some of the serialization problems.
  
  Revision  Changes    Path
  1.34      +7 -6      
xml-xalan/java/src/org/apache/xalan/templates/StylesheetRoot.java
  
  Index: StylesheetRoot.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/templates/StylesheetRoot.java,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- StylesheetRoot.java       2000/12/15 00:05:52     1.33
  +++ StylesheetRoot.java       2000/12/18 14:07:38     1.34
  @@ -120,7 +120,7 @@
     /**
      * The schema used when creating this StylesheetRoot
      */
  -  private XSLTSchema m_schema;
  +  private Hashtable m_availElems;
   
     /**
      * Creates a StylesheetRoot and retains a pointer to the schema used to 
create this
  @@ -133,7 +133,7 @@
     {
   
       this();
  -    m_schema = schema;
  +    m_availElems = schema.getElemsAvailable();
   
     }
   
  @@ -148,13 +148,14 @@
     }
   
     /**
  -   * Get the schema associated with this StylesheetRoot
  +   * Get the hashtable of available elements.
      *
  -   * @return the schema in effect when this StylesheetRoot was built
  +   * @return table of available elements, keyed by qualified names, and with 
  +   * values of the same qualified names.
      */
  -  public XSLTSchema getSchema()
  +  public Hashtable getAvailableElements()
     {
  -    return m_schema;
  +    return m_availElems;
     }
   
     //============== Templates Interface ================
  
  
  

Reply via email to