- From: David Carlisle <davidc@nag.co.uk>
- Date: Mon, 13 Aug 2012 16:59:32 +0100
- To: Dave Pawson <dave.pawson@gmail.com>
- Cc: MicroXML <public-microxml@w3.org>
On 13/08/2012 16:51, Dave Pawson wrote: > To what extent is XML compatibility expected? Syntax only? Are there > any boundaries to that expectation? I would say having an xml syntax but with different meaning for that syntax would be the worse possible outcome. JSON has a simpler data model than XML and a different syntax so there is no confusion, but if microxml has syntax such that it is guaranteed to be well formed xml but that syntax has a different meaning then that is just building in confusion. To give a specific example if the comment syntax is allowed <!-- .... --> it had better make a comment or (less good but acceptable, be discarded) what would not be good at all would be if that syntax made an element or text or some other incompatible thing at the data model level. If you push for compatibility at the level of syntax only you get things like html parsing of <foo/> which is accepted syntax but it is a start tag not an empty tag. I fail to see why that is useful (in general, or in html) David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
Received on Monday, 13 August 2012 16:00:12 UTC