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/03/02 23:17:28 UTC

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

mmidy       00/03/02 14:17:28

  Modified:    src/org/apache/xalan/xslt ElemDecimalFormat.java
  Log:
  Check for valid attribute. SPR #PDIK4GZRHZ
  
  Revision  Changes    Path
  1.8       +1 -1      xml-xalan/src/org/apache/xalan/xslt/ElemDecimalFormat.java
  
  Index: ElemDecimalFormat.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/src/org/apache/xalan/xslt/ElemDecimalFormat.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ElemDecimalFormat.java	2000/03/02 10:23:01	1.7
  +++ ElemDecimalFormat.java	2000/03/02 22:17:27	1.8
  @@ -151,7 +151,7 @@
         {
           m_patternSeparator_avt = atts.getValue(i);
         }
  -      else //if(!isAttrOK(aname, atts, i))
  +      else if(!isAttrOK(aname, atts, i))
         {
           processor.error(XSLTErrorResources.ER_ILLEGAL_ATTRIBUTE, new Object[] {name, aname}); //name+" has an illegal attribute: "+aname);
         }