xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mor...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/dom DTDMonitor.java
Date Wed, 31 Oct 2001 13:09:56 GMT
morten      01/10/31 05:09:56

  Modified:    java/src/org/apache/xalan/xsltc/dom DTDMonitor.java
  Log:
  Fix for generating IDs for implied attributes.
  PR:		n/a
  Obtained from:	n/a
  Submitted by:	morten@xml.apache.org
  Reviewed by:	morten@xml.apache.org
  
  Revision  Changes    Path
  1.6       +3 -2      xml-xalan/java/src/org/apache/xalan/xsltc/dom/DTDMonitor.java
  
  Index: DTDMonitor.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/dom/DTDMonitor.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DTDMonitor.java	2001/08/21 09:01:19	1.5
  +++ DTDMonitor.java	2001/10/31 13:09:56	1.6
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: DTDMonitor.java,v 1.5 2001/08/21 09:01:19 morten Exp $
  + * @(#)$Id: DTDMonitor.java,v 1.6 2001/10/31 13:09:56 morten Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -164,7 +164,8 @@
   	// represented in a DTD as in:
   	//           <!ATTLIST Person SSN ID #REQUIRED>
   	// where 'Person' would be elemtName and 'SSN' would be the ID attribute
  -	_idAttributes.put(element, "@"+attribute);
  +	if (type.equals("ID") || (type.equals("IDREF")))
  +	    _idAttributes.put(element, "@"+attribute);
       }
       
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message