[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Is this invalid?
[Rick Jelliffe:] > From: Didier PH Martin <martind@n...> > >Is this markup an invalid XML element? > > > ><!AFDR "ISO/IEC 10744:1997"> > > In which document is this listed? I know that these are > > all valid SGML markup and there is ISO documents on it, > > but where can I find W3C documents giving that > > information? > It is not valid XML. The AFDR markup type was invented to > signify that the file was *not* SGML or XML. (What a > strange thing to do: it is the kiss of death. ) Correction: The purpose of the <!AFDR... declaration is to alert the SGML parser that, in the subsequent DTD, certain extensions to the syntax of SGML DTDs are used. These extensions are standardized in the "Architectural Forms Definition Requirements" (which a full-fledged ISO standard in the SGML family of standards: A.3 of ISO/IEC 10744:1997). Far from being "*not* SGML", it *is* SGML, except in the technical sense that this extension hasn't yet been incorporated, officially, in a long-awaited revision of ISO 8879. The <!AFDR... syntax extensions are minor and it's easy (but redundant) to do without them and still use architectural forms at full power. The main extension is that there can be more than one <!ATTLIST... that contributes attribute definitions to a single element type. The other extension is related to the first: there is a bogus element type called "#ALL" that can be used in <!ATTLISTs to add attribute definitions to all element types in the DTD. This is merely an easier, more maintainable, and clearer way of adding "common" attribute definitions to every element. As for <!AFDR... being the "kiss of death", I couldn't agree less. The primary SGML parser in industrial use today is SP, and SP both recognizes <!AFDR... *and* fully supports these minor syntax extensions. Rick is correct in saying that <!AFDR... isn't part of any W3C Recommendation for XML (at least as far as I know). -Steve -- Steven R. Newcomb, President, TechnoTeacher, Inc. srn@t... http://www.techno.com ftp.techno.com voice: +1 972 231 4098 (at ISOGEN: +1 214 953 0004 x137) fax +1 972 994 0087 (at ISOGEN: +1 214 953 3152) 3615 Tanner Lane Richardson, Texas 75082-2618 USA xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|