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

Re: Generic XML Tag Closer </> (GXTC)

  • From: Rick Marshall <rjm@xxxxxxxxxxx>
  • To: Philippe Poulard <Philippe.Poulard@xxxxxxxxxxxxxxx>
  • Date: Wed, 30 Aug 2006 07:36:49 +1000

xml single line
One of things most engineers learn very early in their training is that 
the text book examples are just that - text book examples.

The real world has a way of interfering with theory - loose wires, 
components on the edge of their tolerances, inductance in wires etc. 
(civil and mechanical engineers must have their own list).

So...

When we talk about readability can we start using examples where the 
ratio of data to tag bytes is say 100:1 rather than 1:4 or worse.

Embed your tags in a single line that is 10k long or put your 
terminators in the middle of a line 20 lines from where the opening tag 
occurred and then discuss readability.

Because 20 or 30 bytes is irrelevant on all counts in this discussion - 
I don't care if I type 15 bytes or 20 bytes. I do care if I spend 2 
hours looking for a missing end tag.

Rick


Philippe Poulard wrote:
> Melvin Chin wrote:
>> May I seek some opinions on this topic/proposal?
>>
>> ===================================================================
>> To extend XML spec just a little to permit use of "</>" (GXTC)
>> to be placed wherever it is permitted in the current XML spec
>> to place a closing tag.  The semantics will be to effect a
>> closing of the nearest open tag before the position of GXTC.
>> ===================================================================
>>
>> Any opinion is fine, useful, crazy, nonsense, should be done,
>> must not coz it's going to break many things ...
>>
>> I could see some good use of it, but do note the deep potential
>> impact it may bring.  Would like to hear from you.
>>
>> Thanks.
>>
>> cheers,
>> mc
>>
>
> my 1€ :
>
> <a>b<c>d<e>f</e></c></a>
> <a>b<c>d<e>f</></></>
> <a>b<c>d<e>f</3>
> a little more shorter !
> we could also reduce to <3> but it really looks like an open tag
> <a>b<c>d<e>f<3>
>


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


PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.