W3C home > Mailing lists > Public > www-html@w3.org > November 1999

Re: No specification for querystrings and fragment identifiers

From: Dan Connolly <connolly@w3.org>
Date: Tue, 23 Nov 1999 11:52:24 -0600
Message-ID: <383AD458.BBABF383@w3.org>
To: www-html@w3.org
Dave J Woolley wrote:
> 
> > > From:       Liam Quinn [SMTP:liam@htmlhelp.com]
> > >
> > > It does for attribute values.  See
> > > <http://www.w3.org/TR/REC-html40/types.html#h-6.2>.
> > >
> >
>         Some further information.
> 
>         Section 2.7 of the XML specification specifically
>         forbids interpretation of character entitities in
>         CDATA, quoting &lt; and &gt; as examples, but section
>         2.4 makes specific exceptions for &quot; and &apos;
>         in CDATA attributes.  Looks like there is no escape
>         convention to represent literal &quot; in XML!  Oops!

sure there is: just write:

	<!DOCTYPE mydoc [
	<!ENTITY quot "&#34;">
	]>
	<mydoc>foo &quot; bar</mydoc>

&quot; doesn't have the status of &lt; and &amp; in XML, because
it doesn't need to; you can just write:

	<mydoc>foo " bar</mydoc>


and get the same results.

>         RCDATA appears not to be supported, meaning that
>         re-declaring %URI as RCDATA is no longer an option.

again, no need:

	<mydoc aRef="http://example.com?q=abc&#34;def"/>

>         Looks to me as though there is a serious conflict between
>         what is implemented and what is consistent with the
>         standards which are authorative in specific areas.

How so?

--
Dan
http://www.w3.org/People/Connolly/
Received on Tuesday, 23 November 1999 12:52:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:40 GMT