Re: No specification for querystrings and fragment identifiers

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 UTC