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 bu...@apache.org on 2002/01/15 17:22:00 UTC
DO NOT REPLY [Bug 5519] -
[Fatal Error] A '(' character or an element type is required in the declaration of element type appears using Un*x flavors.
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=5519>.
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=5519
[Fatal Error] A '(' character or an element type is required in the declaration of element type appears using Un*x flavors.
pavani.mukthipudi@india.sun.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From pavani.mukthipudi@india.sun.com 2002-01-15 08:21 -------
This is not a bug. The problem is with your messages.dtd.
<snip>
1139 <!ENTITY % PRR_PC5.LST.5.CONTENT "(VAR)+">
1140 <!ELEMENT PRR_PC5.LST.5 %PRR_PC5.LST.5.CONTENT;>
1141 <!ENTITY % PRR_PC5.GRP.2.CONTENT "(PTH,PRR_PC5.LST.5?)">
</snip>
In line 1141, PRR_PC5.LST.5 should be parenthesized because its content is
(VAR)+ and on replacement leads to "(PTH,(VAR)+?)" which is against the
XML 1.0 spec which says :
children ::= (choice | seq) ('?' | '*' | '+')?
cp ::= (Name | choice | seq) ('?' | '*' | '+')?
choice ::= '(' S? cp ( S? '|' S? cp )+ S? ')'
seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org