S
Steven Simpson
Hello,
If an XML processor encounters a 'PEReference' in a 'markupdecl' (but
not in 'EntityValue'), are there circumstances where it does not have to
include it (i.e. use the replacement text and re-parse), e.g. when not
validating? Or perhaps it would never have to have such an encounter
unless it was already required to include?
If it does not include, what can it assume about the subsequent text?
For example, after "<!ELEMENT %erk;", can it assume that "%erk;" only
expands to a 'Name', and covers no part of the 'contentspec'? Or does
it have to abandon any detailed parsing until it synchronizes with the
closing ">"?
Where exactly is a 'PEReference' allowed in a 'markupdecl' (other than
inside 'EntityValue')? Where "SYSTEM"/"PUBLIC"/"NDATA" are expected?
As the 'Name' of an entity or notation being declared? Inside, or as
the whole of, a 'SystemLiteral' or 'PubidLiteral'?
Thanks,
Steven
If an XML processor encounters a 'PEReference' in a 'markupdecl' (but
not in 'EntityValue'), are there circumstances where it does not have to
include it (i.e. use the replacement text and re-parse), e.g. when not
validating? Or perhaps it would never have to have such an encounter
unless it was already required to include?
If it does not include, what can it assume about the subsequent text?
For example, after "<!ELEMENT %erk;", can it assume that "%erk;" only
expands to a 'Name', and covers no part of the 'contentspec'? Or does
it have to abandon any detailed parsing until it synchronizes with the
closing ">"?
Where exactly is a 'PEReference' allowed in a 'markupdecl' (other than
inside 'EntityValue')? Where "SYSTEM"/"PUBLIC"/"NDATA" are expected?
As the 'Name' of an entity or notation being declared? Inside, or as
the whole of, a 'SystemLiteral' or 'PubidLiteral'?
Thanks,
Steven