[XML-DEV Mailing List Archive Home]
[Reply To This Message]
- From: Uche Ogbuji <email@example.com>
- To: Amelia A Lewis <firstname.lastname@example.org>
- Date: Mon, 13 Dec 2010 10:57:51 -0700
2010/12/13 Uche Ogbuji <email@example.com>
On Mon, 13 Dec 2010 16:01:11 +0700, James Clark wrote:
> I wrote a post describing a fairly minimal subset of XML:
Nice. I like the way that it copes with namespaces; I think it may
improve upon Michael Kay's suggestion, even.
I have a problem with it.
How do I tell whether it's safe to use my uXML parser instead of my
(heavier) XML 1.0 + Namespace in XML + XML:Base + XML:ID + whatever
XML declaration not allowed. XML 1.0 and uXML are placed in the
position of both claiming to be the canonical format indicated by the
absence of a declaration.
I've only had a chance to skim ìXML (that would be a wikkid name :) ), but I intend to read more thoroughly when I get a longer break today. I hope my comments are not complete rubbish as a result.
With what Liam and Henri said about magic numbers, and I agree, how about just:
No need for BOM since MicroXML is UTF-8 only, though I suspect there may be much discussion on that point. The MicroXML decl *must* be at the beginning (I agree the need for magic number trumps convenience for cut&paste. One can always add a step in the toolchain to fix misplaced microxml declarations.)
I think the above does not violate HTML5? (Not sure). I understand that HTML compat rules out:
Silly me. I had HTML5 on the brain.
breaks XML 1.0 compat.
Uche Ogbuji http://uche.ogbuji.net
Poetry ed @TNB: http://www.thenervousbreakdown.com/author/uogbuji/
Founding Partner, Zepheira http://zepheira.com
| [Thread Prev]
| [Thread Next]
| [Date Next]
| [Thread Index]
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
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please