[prev in list] [next in list] [prev in thread] [next in thread]
List: xerces-cvs
Subject: cvs commit: xml-xerces/java/src/org/apache/xerces/impl/xs SubstitutionGroupHandler.java
From: lmartin () apache ! org
Date: 2001-12-17 22:11:12
[Download RAW message or body]
lmartin 01/12/17 14:11:12
Modified: java/src/org/apache/xerces/impl/xs
SubstitutionGroupHandler.java
Log:
changes so that the parser will run on 1.1.8
Revision Changes Path
1.4 +6 -5 xml-xerces/java/src/org/apache/xerces/impl/xs/SubstitutionGroupHandler.java
Index: SubstitutionGroupHandler.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/SubstitutionGroupHandler.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- SubstitutionGroupHandler.java 2001/11/13 20:32:31 1.3
+++ SubstitutionGroupHandler.java 2001/12/17 22:11:12 1.4
@@ -66,7 +66,7 @@
*
* @author Sandy Gao, IBM
*
- * @version $Id: SubstitutionGroupHandler.java,v 1.3 2001/11/13 20:32:31 sandygao Exp $
+ * @version $Id: SubstitutionGroupHandler.java,v 1.4 2001/12/17 22:11:12 lmartin Exp $
*/
public class SubstitutionGroupHandler {
@@ -207,7 +207,7 @@
fSubGroups.put(subHead, subGroup);
}
// add to the vactor
- subGroup.add(element);
+ subGroup.addElement(element);
}
}
@@ -236,13 +236,14 @@
// then for each of the direct substitutions, get its substitution
// group, and combine the groups together.
for (int i = group.size()-1, j; i >= 0; i--) {
- group1 = getSubstitutionGroup((XSElementDecl)group.get(i));
+ group1 = getSubstitutionGroup((XSElementDecl)group.elementAt(i));
for (j = group1.length-1; j >= 0; j--)
- group.add(group1[j]);
+ group.addElement(group1[j]);
}
ret = new XSElementDecl[group.size()];
- for (int i = group.size()-1; i >= 0; i--)
+ for (int i = group.size()-1; i >= 0; i--) {
ret[i] = (XSElementDecl)group.elementAt(i);
+ }
fSubGroups.put(element, ret);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic