Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML - Mixed Content in Parameter Entities

Status
Not open for further replies.

hrankin

IS-IT--Management
Jul 26, 2001
1
US
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 &quot;(#PCDATA | %fontchng; | %controls; | %refs; | %links; | anchor | email )*&quot;>

(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


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top