Dear Mr. Bray,
> I believe that XML and SGML have the same handling for CDATA attributes.
You are rigth. I was mixing up the SGML-standard and HTML 4. Even though
HTML is
just an SGML-application, the Browsers are much more liberate in treating
markup-errors.
When running my docs against nsg
At 02:30 PM 2/5/00 +0100, Armin Pfarr wrote:
>It is astonishing for somebody who has some knowledge of SGML (like me) that
>the CDATA construct in XML differs from the one in SGML at all AND STILL
>USES THE SAME NAME.
I believe that XML and SGML have the same handling for CDATA a
Hello Mike,
thank to your comments, I got the point.
I already had the annotated spec at hand. I looked up 3.3.1 "Attribute
Types" which states StringType::='CDATA'. There is no description there and
also no annotation. Since this IS something new in XML, I'd at least mention
it here.
It is asto
In addition to Mike's excellent comments, I'll list the necessary
changes in your document:
>
Should be:
> I get a parsing error
> "The Reference to entity test2 must end with the ";" delimiter.
The parser is thinking that you are referencing an entity
called "test2" (the nmtoken characters
ys use < for < (the "lt" stands for
> less-than, by the way) and & for &.
>
> Mike
>
> Armin Pfarr wrote:
> >
> > Hi,
> >
> > if I'm using a DTD
> >
> > > EMPTY >
> > > href CDATA #REQUIRED >
Let me try that again...(I hit SEND too soon!)
An attribute of type "CDATA" is not the same as a "CDATA section".
An attribute containing CDATA is not the same as a "CDATA section".
Hi,
if I'm using a DTD
and construct an Instance
I get a parsing error
"The Reference to entity test2 must end with the ";" delimiter.
If I understand the spec correctly, CDATA-Attributes are final and may not
be processed by the parser. In this case I'd expect,