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

Re: Towards XML 2.0

  • From: "Pete Cordell" <petexmldev@codalogic.com>
  • To: "Dave Pawson" <davep@dpawson.co.uk>,<xml-dev@l...>
  • Date: Mon, 6 Dec 2010 11:29:59 -0000

Re:  Towards XML 2.0
Original Message From: "Dave Pawson"

>> Why should the XML community insist that [comments have] to be 
>> well-formed?
>> Does the XML community gain anything by it being well-formed?
> Yes. XML?

But we would still have XML if we stayed with:

    Need something like:
    <path ...location attrs...>
        Either <route> or set of <stage> elements
        <Complexity (or should that be <difficulty>)>
            Need a couple of metrics here

Thus, replacing <!-- --> with <xml:comment/> IMO makes things harder rather 
than easier.

>> I could make the above well-formed, but as a developer I might want
>> to do a brain-dump and come back to it later.  What right do we have
>> to insist that a developer has to fix the above comment before moving
>> onto something else?
> Do it now or later, same work?

Sadly Dave, my brain has a limited working set.  If I have to fix up stuff 
now that I could do later, things I've cached in my brain will have to be 
flushed out.

My brain is also getting more volatile by the day.  The longer it takes me 
to get my ideas down, the more chance I'll forget what I was doing, or get 
distracted by some mailing list discussion :-)

P.S. I might be able to live with the following if it helped:

    <?xml:comment @purpose="todo"
    Need something like:
    <path ...location attrs...>
        Either <route> or set of <stage> elements
        <Complexity (or should that be <difficulty>)>
            Need a couple of metrics here

i.e. comment as a PI rather than an element.


    <?xml:comment @target="MyElement"
        The main root element ?>

    <?xml:comment @target="MyElement/@rid"
        The resource identifier ?>
    <MyElement rid="1"/>

Really just playing around with the @purpose and @target values.  They could 
be more about convention than being part of the base standard.

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using C++ XML
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info

[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.