possible error?

In the document character data is defined as follows:

[14] CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*)

however what about

[69] PEReference ::= '%' Name ';'
if a '%' marks the beginning of this token but it is allowed in the charater data section of a document how do you know for sure that you have entered a PEReference?
I'm assuming that a PEReference occurs out side of tags (<....>). I'm some what confused by this. If this is not an error could you please clarify for me?
Thanks


Dan Cathcart
Computer Engineering Co-op Student
AEA Technologies Engineering Solutions
Ph: (403) 520-6663
Email: Dan.Cathcart@software.aeat.com

Received on Wednesday, 17 May 2000 17:53:31 UTC