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

Re: Simplify XML Now? (Was RE: Re: Hostilityto "bin

xml percent
> I think someone else suggested using '%'.

I believe this was Jimmy Cerra on Danny Ayers blog comments... just a 
guess though:


> imo I would be ok with '%' and not actally changing things at the parser 
> level (processing of them would still be left to layers above the 
> parser). I will draw an analogy, eg, with c's printf syntax. printf's 
> syntax isn't part of the core language, but at the same time makes 
> things more flexible. people, however, realize in many cases to be 
> careful with '%', as probably those dealing with a modified syntax would.
> probably %% could be used as an escaped form of %.

This feels like a very dangerous idea-- of course this is probably just 
because I just got done implementing changes in AElfred for everything 
entities. if anything in XML is going to be escaped there are existing 
mechanisms to do this:

   % &percent; &perc; etc...

Secondly, there are probably hundreds of thousands of documents 
(probably more) that utilize % in content already because it was 
specifically allowed and carried no importance in content. The hours 
upon hours to make such a backward incompatible change would render it 

I think that this problem can only be solved in one of two ways... (a) 
eliminating namespaces altogether or (b) add a new layer. Though many of 
us would like to eliminate namespaces, many wouldn't-- and the backward 
compatibility issue will hurt us for a long time... adding a new layer 
is disagreeable as well, but plausible. Something along the lines of the 
XML Schema key-keyref mechanism (which I tend to avoid) is a step in the 
right direction-- but there is probably a more elegant solution similar 
to xml:id. I am not sure what that is though... just a hunch.

Jeff Rafter


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.