</> as end tag

Chris Lovett clovett at microsoft.com
Mon Nov 3 18:44:43 GMT 1997


Enough already !!

I can tell that none of you actually tried the latest MSXML parser.  To even
get short end tags the programmer has to explicitly turn on the option as
follows:
	Document d = new Document();
	d.load("http://www.somewhere.com/somexml.xml");
	OutputStream o = new FileOutputStream("test.xml");
	XMLOutputStream out = d.createOutputStream(o);
	o.setShortEndTags(true);
	d.save(out);

In other words, it is a completely experimental feature that is thoroughly
buried in the API and the naive user won't even know it exists.  The only
reason it is there is because of the very fact that there was a lot of
discussion about short end tags in the first place.  So I decided to play
with the idea and quite frankly I thought it was kind of cool that XML was
so simple that end tags were redundant.  I think this further emphasizes the
simplicity of XML.  

As for blatant attempts at subversion, I'm just a country boy from
Australia, I don't get involved in that sort of thing :-)  So, enough
politics.  I'm more interested in constructive feedback from people you have
actually played with the new parser....


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