?> in PseudoAttValue

The string '?>' cannot occur in a PseudoAttValue, because
it cannot occur in a PI, no?

For example:
	<?xml-stylesheet href="abc?>def" ?>

is a PI:
	<?xml-stylesheet href="abc?>
followed by:
	def" ?>

The current production:

[3] PseudoAttValue ::= '"' ([^"<&] | CharRef | PredefEntityRef)* '"'
    | "'" ([^'<&] | CharRef | PredefEntityRef)* "'"

doesn't seem to express this.

I suggest adding something like
	- (Char* '?>' Char*)
ala [16]

[3] http://www.w3.org/TR/1999/xml-stylesheet-19990428#NT-PseudoAttValue
[16] http://www.w3.org/TR/1998/REC-xml-19980210#NT-PI

-- 
Dan Connolly, W3C
http://www.w3.org/People/Connolly/
tel:+1-512-310-2971 (office, mobile)
mailto:connolly.pager@w3.org (put your tel# in the Subject:)

Received on Wednesday, 23 June 1999 03:27:32 UTC