W3C home > Mailing lists > Public > www-xml-stylesheet-comments@w3.org > June 1999

?> in PseudoAttValue

From: Dan Connolly <connolly@w3.org>
Date: Wed, 23 Jun 1999 02:28:17 -0500
Message-ID: <37708C91.FE463727@w3.org>
To: www-xml-stylesheet-comments@w3.org
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 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 9 June 2005 12:16:00 GMT