You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by ji...@apache.org on 2004/04/12 23:15:56 UTC

[jira] Updated: (XERCERJ-98) [Fatal Error] A '(' character or an element type is required in the declaration of element type appears using Un*x flavors.

The following issue has been updated:

    Updater: Serge Knystautas (mailto:sergek@lokitech.com)
       Date: Mon, 12 Apr 2004 2:14 PM
    Changes:
             Attachment changed from hl7v231.tgz
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XERCERJ-98?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCERJ-98

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCERJ-98
    Summary: [Fatal Error] A '(' character or an element type is required in the declaration of element type appears using Un*x flavors.
       Type: Bug

     Status: Reopened

    Project: Xerces2-J

   Assignee: Xerces-J Developers Mailing List
   Reporter: Brandon Perkins

    Created: Wed, 19 Dec 2001 11:38 AM
    Updated: Mon, 12 Apr 2004 2:14 PM
Environment: Operating System: All
Platform: All

Description:
Using the following command-line on Windows:

java -classpath xercesImpl.jar;xercesSamples.jar;xmlParserAPIs.jar sax.Counter
-n -np -v -s -f dtd\hl7v231\instance\<file>.xml

And the equivalent in the Un*x world (tested on Solaris 8 and Linux 2.2 so far):

java -classpath xercesImpl.jar:xercesSamples.jar:xmlParserAPIs.jar sax.Counter
-n -np -v -s -f dtd/hl7v231/instance/<file>.xml

Produces different results.  Windows has no errors, whereas both Solaris and
Linux produce the following fatal error:

[Fatal Error] messages.dtd:1146:48: A '(' character or an element type is
required in the declaration of element type "PRR_PC5.LST.7".

We are using java version "1.3.1_01" from Sun on all three platforms.  It seems
to have a problem with the following section of code from the messages.dtd,
specifically line 1146:

<snip>
  1141  <!ENTITY % PRR_PC5.GRP.2.CONTENT "(PTH,PRR_PC5.LST.5?)">
  1142  <!ELEMENT PRR_PC5.GRP.2 %PRR_PC5.GRP.2.CONTENT;>
  1143  <!ENTITY % PRR_PC5.LST.6.CONTENT "(PRR_PC5.GRP.2)+">
  1144  <!ELEMENT PRR_PC5.LST.6 %PRR_PC5.LST.6.CONTENT;>
  1145  <!ENTITY % PRR_PC5.LST.7.CONTENT "(NTE)+">
  1146  <!ELEMENT PRR_PC5.LST.7 %PRR_PC5.LST.7.CONTENT;>
  1147  <!ENTITY % PRR_PC5.GRP.3.CONTENT "(OBX,PRR_PC5.LST.7?)">
  1148  <!ELEMENT PRR_PC5.GRP.3 %PRR_PC5.GRP.3.CONTENT;>
  1149  <!ENTITY % PRR_PC5.LST.8.CONTENT "(PRR_PC5.GRP.3)+">
  1150  <!ELEMENT PRR_PC5.LST.8 %PRR_PC5.LST.8.CONTENT;>
  1151  <!ENTITY % PRR_PC5.LST.9.CONTENT "(NTE)+">
</snip>


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org