[
https://issues.apache.org/jira/browse/XERCESJ-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Elliotte Rusty Harold resolved XERCESJ-98.
------------------------------------------
Resolution: Cannot Reproduce
> [Fatal Error] A '(' character or an element type is required in the
> declaration of element type appears using Un*x flavors.
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: XERCESJ-98
> URL: https://issues.apache.org/jira/browse/XERCESJ-98
> Project: Xerces2-J
> Issue Type: Bug
> Components: SAX
> Affects Versions: 2.0.0
> Environment: Operating System: All
> Platform: All
> Reporter: Brandon Perkins
> Attachments: ASF.LICENSE.NOT.GRANTED--hl7v231.tgz
>
>
> 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>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]