I know all the rules about mixed content within an Element definition, but I'm not sure if the same rules apply to mixed content within a Parameter Entity definition. IE5 does not seem to like mixed content anywhere inside Parameter Entities even though the following rules are abided by:
- PCDATA is not part of an ordered sequence
- PCDATA is the first element in the element list
- A "zero or more" (*) occurrence indicator is added to the end of the unordered selection.
Here is the definition:
<!ENTITY % data "(#PCDATA | %fontchng; | %controls; | %refs; | %links; | anchor | email )*">
(None of the other parameter entities in the group contain PCDATA or repeated structures).
XMetal, XML Spy and a few other validation tools are all OK with the above construct. IE5, however, complains about #PCDATA being there. I don't know whether this is an IE5 glitch or whether it is a true XML problem. Can anyone help?
Thanks
Heather Rankin
- PCDATA is not part of an ordered sequence
- PCDATA is the first element in the element list
- A "zero or more" (*) occurrence indicator is added to the end of the unordered selection.
Here is the definition:
<!ENTITY % data "(#PCDATA | %fontchng; | %controls; | %refs; | %links; | anchor | email )*">
(None of the other parameter entities in the group contain PCDATA or repeated structures).
XMetal, XML Spy and a few other validation tools are all OK with the above construct. IE5, however, complains about #PCDATA being there. I don't know whether this is an IE5 glitch or whether it is a true XML problem. Can anyone help?
Thanks
Heather Rankin