DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13087>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13087

VM specs violation in Xerces 2.2.0 in class SchemaGrammar

           Summary: VM specs violation in Xerces 2.2.0 in class
                    SchemaGrammar
           Product: Xerces2-J
           Version: 2.1.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XML Schema datatypes
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The IBM VisualAge Java compiler does not like Xerces 2.2.0 source code.
It reports an error:

In org.apache.xerces.impl.xs.SchemaGrammar:

"Cannot invoke private superconstructor defined on 
 org.apache.xerces.impl.xs.SchemaGrammar with arguments(),
 access violation would violate VM specifications"

(P.S. I have had a similar error on Turbine. What compiler are you
      people using? Also, in that case JVM runtime/code verification
      errors might occur even for precompiled Xerces, might it not?)

Where does that happen?

In class SchemaGrammar:
In static member class BuiltinSchemaGrammar:
In method BuiltinSchemaGrammar.BuiltinSchemaGrammar():

public BuiltinSchemaGrammar(int grammar) {

  **** The private constructor super() is called here ****

  SchemaDVFactory schemaFactory = SchemaDVFactory.getInstance();
    if (grammar == GRAMMAR_XS) {
     ....

FIX:

Make the parameterless constructor of SchemaGrammar public.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to