mmidy       01/09/26 08:13:15

  Modified:    java/src/org/apache/xalan/processor XSLTSchema.java
  Log:
  Mark xsl:template as containing ordered elements. Fix for no error when 
xsl:param not first child of xsl:template
  
  Revision  Changes    Path
  1.23      +8 -8      
xml-xalan/java/src/org/apache/xalan/processor/XSLTSchema.java
  
  Index: XSLTSchema.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/processor/XSLTSchema.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- XSLTSchema.java   2001/08/17 19:53:26     1.22
  +++ XSLTSchema.java   2001/09/26 15:13:15     1.23
  @@ -605,13 +605,13 @@
                                                                     
mediaTypeAttr,
                                                                     
XSLTAttributeDef.m_foreignAttr }, 
                                                                   new 
ProcessorOutputElem(), null /* class object */, 20, true), 
  -                                                                             
                new XSLTElementDef(
  -                                                                    this,
  -                                                                    
Constants.S_XSLNAMESPACEURL,
  -                                                                    "key",
  -                                                                    null 
/*alias */,
  -                                                                    null /* 
elements */,  // EMPTY
  -                                                                    new 
XSLTAttributeDef[]{ nameAttrRequired,
  +                                                              new 
XSLTElementDef(
  +                                                                this,
  +                                                                
Constants.S_XSLNAMESPACEURL,
  +                                                                "key",
  +                                                                null /*alias 
*/,
  +                                                                null /* 
elements */,  // EMPTY
  +                                                                new 
XSLTAttributeDef[]{ nameAttrRequired,
                                                                                
               matchAttrRequired,
                                                                                
               useAttr }, 
                                                                                
                  new ProcessorKey(), null /* class object */, 20, true),
  @@ -677,7 +677,7 @@
                                                                     
nameAttrOpt,
                                                                     
priorityAttr,
                                                                     modeAttr,
  -                                                                  spaceAttr 
}, new ProcessorTemplate(), ElemTemplate.class /* class object */, 20, true), 
  +                                                                  spaceAttr 
}, new ProcessorTemplate(), ElemTemplate.class /* class object */, true, 20, 
true), 
                                                                                
                new XSLTElementDef(
                                                                       this,
                                                                       
Constants.S_XSLNAMESPACEURL,
  
  
  

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

Reply via email to