You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mm...@locus.apache.org on 2000/09/29 20:03:37 UTC

cvs commit: xml-xalan/java/src/org/apache/xalan/templates ElemAttribute.java

mmidy       00/09/29 11:03:36

  Modified:    java/src/org/apache/xalan/templates ElemAttribute.java
  Log:
  Ignore invalid attributes
  
  Revision  Changes    Path
  1.3       +1 -0      xml-xalan/java/src/org/apache/xalan/templates/ElemAttribute.java
  
  Index: ElemAttribute.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/templates/ElemAttribute.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ElemAttribute.java	2000/07/05 14:39:54	1.2
  +++ ElemAttribute.java	2000/09/29 18:03:35	1.3
  @@ -168,6 +168,7 @@
       if(null == rhandler.getPendingElementName())
       {
         transformer.getMsgMgr().warn(XSLTErrorResources.WG_ILLEGAL_ATTRIBUTE_NAME, new Object[]{origAttrName}); 
  +      return;
         // warn(templateChild, sourceNode, "Trying to add attribute after element child has been added, ignoring...");
       }