[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: MicroXML

  • From: Dave Pawson <davep@dpawson.co.uk>
  • To: Amelia A Lewis <amyzing@talsever.com>
  • Date: Mon, 13 Dec 2010 18:02:25 +0000

Re:  MicroXML
On Mon, 13 Dec 2010 11:35:10 -0500
Amelia A Lewis <amyzing@talsever.com> wrote:

> On Mon, 13 Dec 2010 16:01:11 +0700, James Clark wrote:
> > I wrote a post describing a fairly minimal subset of XML:
> > 
> >    http://blog.jclark.com/2010/12/microxml.html
> 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 
> parser?

> That leaves: attribute on the root--or some other--element.  

I.e. it leaves it down to the user? I believe the goal
is that any decent XML parser would flag your uxml (like it)
document as well formed... 
   Wouldn't check your 'uns' well-formedness though.

> This suggests (to me) that the likeliest hack will be to create
> custom semantically important comments, possibly paired comments if
> uXML is widely deployed embedded (start and stop), although
> well-formedness might make a single indicator sufficient.
> Personally, I'd rather have a PI.

I'd prefer the root attribute? But basically down to the parser

If a PI, what do you decide when you meet it half way down
the document? POXML up until then, now switch parsers?

> In other issues, I think that there may be an over-emphasis on HTML5 
> compatibility, even at the expense of XML compatibility.
> If this were to be of interest, I'd expect to see it "grow up" with 
> additional layers, at some point. 

Layers = complexity? I'd hope not. 



Dave Pawson

  • Follow-Ups:
  • References:
    • MicroXML
      • From: James Clark <jjc@jclark.com>
    • Re: MicroXML
      • From: Amelia A Lewis <amyzing@talsever.com>

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

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 click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.