Abbreviated end tags found in a XML file

Bryan Gilbert Bryan_Gilbert at pml.com
Mon Apr 20 21:02:21 BST 1998


At this site
http://www.microsoft.com/msdn/sdk/inetsdk/samples/databind/composer.xml
you will find a XML file that contains content like this:
<?XML VERSION="1.0" RMD="NONE"?>
<COMPOSER>
 <ITEM>
<COMPSR_FIRST>Hector</>
<COMPSR_LAST>Berlioz</>
<COMPSR_BIRTH>1803</>
<COMPSR_DEATH>1869</>
<ORIGIN>France</>
<BIO>Renowned French composer known for <SPAN
STYLE="font-style:italic">Symphonie Fantastique</SPAN> written in
1830.</>
</>

Notice that end tags do NOT contain the element name.  
>From my reading of the XML spec this file is not well formed.

But is it acceptable?


Bryan Gilbert, B.Sc.  M.Sc.
Systems Engineer, ION Modules Team,
Power Measurement Ltd 
2195 Keating Cross Road, Saanichton, BC, Can, V8M 2A5
Phone: (250) 652-7100 ext 7570
Fax: (250) 652-0411
email: (mailto:bryan_gilbert at pml.com)
WWW: (http://www.pml.com)


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list