You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by er...@locus.apache.org on 2000/08/18 23:36:31 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/framework XMLContentSpec.java
ericye 00/08/18 14:36:31
Modified: java/src/org/apache/xerces/framework XMLContentSpec.java
Log:
There is another place need to apply mask 0x0f.
Revision Changes Path
1.10 +2 -2 xml-xerces/java/src/org/apache/xerces/framework/XMLContentSpec.java
Index: XMLContentSpec.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/framework/XMLContentSpec.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- XMLContentSpec.java 2000/08/10 02:56:31 1.9
+++ XMLContentSpec.java 2000/08/18 21:36:30 1.10
@@ -109,7 +109,7 @@
* string pool index, as the "#PCDATA" leaf is not used in the declarations
* for element content models.
*
- * @version $Id: XMLContentSpec.java,v 1.9 2000/08/10 02:56:31 ericye Exp $
+ * @version $Id: XMLContentSpec.java,v 1.10 2000/08/18 21:36:30 ericye Exp $
*/
public class XMLContentSpec {
@@ -482,7 +482,7 @@
boolean parens,
int parentContentSpecType ) {
- int thisContentSpec = contentSpec.type;
+ int thisContentSpec = contentSpec.type & 0x0f;
switch (thisContentSpec) {
case XMLContentSpec.CONTENTSPECNODE_LEAF: {
if (contentSpec.value == -1 && contentSpec.otherValue == -1) {