[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Towards XML 2.0
- From: "Pete Cordell" <petexmldev@codalogic.com>
- To: "Dave Pawson" <davep@dpawson.co.uk>,<xml-dev@lists.xml.org>
- Date: Mon, 6 Dec 2010 11:29:59 -0000
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.
Also:
<?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]