AW: AW: CData-Attributes

2000-02-06 Thread Armin Pfarr
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

Re: AW: CData-Attributes

2000-02-05 Thread Tim Bray
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

AW: CData-Attributes

2000-02-05 Thread Armin Pfarr
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

Re: CData-Attributes

2000-02-04 Thread Andy Clark
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

Use the Annotated XML Spec [was: CData-Attributes]

2000-02-04 Thread Mike Pogue
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 >

Re: CData-Attributes

2000-02-04 Thread Mike Pogue
Let me try that again...(I hit SEND too soon!) An attribute of type "CDATA" is not the same as a "CDATA section".

Re: CData-Attributes

2000-02-04 Thread Mike Pogue
An attribute containing CDATA is not the same as a "CDATA section".

CData-Attributes

2000-02-04 Thread Armin Pfarr
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,