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

Re: Using W3C Regular Expressions

  • From: Robin Berjon <robin@k...>
  • To: Al Snell <alaric@a...>
  • Date: Fri, 20 Apr 2001 02:12:06 +0200

w3c regex
At 00:35 20/04/2001 +0100, Al Snell wrote:
>On Fri, 20 Apr 2001, Anders W. Tell wrote:
>> However a number of reasons exists
>> - Using string syntax enhances  the readability.
>> - Size, SVG path strings are more compact.
>> - DOM bloat,  large DOM trees could be created.
>> 
>> Of course the question is if these arguments are valid...

Readability is imho a valid argument. XPath as it is is more readable than
any XML equivalent (this is not a comment on the quality of the XML
representations that have been submitted here and elsewhere, they serve a
different purpose and I'm already using Matt Sergeant's excellent
representation in some projects).

Size otoh is not really a good argument. Gz-compressed SVG is really small
(smaller than the other vector graphic formats that I've benchmarked it
against), and it wouldn't be much larger if paths used markup instead.
However, SVG paths wouldn't be much more humanly readable as markup than
they are as strings so that point is pretty moot in the context of SVG
(which has a few weird things such as rect for rectangle and g for group
but still ellipse, polyline, polygon instead of ell, pline, pgon...).

><snipe class="troll" allowable-replies="non-flammable only">
>So much for XML as the universal data interchange language if the core
>standards are already hitting its limitations and having to embed other
>languages in it :-(
></snipe>

That's not a fair comment (but you did say so). I don't think the core
standards are hitting limitation in XML, though they may be hitting
limitations in markup, which I don't think they can be blamed for.
//foo[@bar='gork'] is easier to understand and to write than any equivalent
XML vocabulary could ever be. The limits are on the human side (because
people read and write those things) not on the side of the expressive power
of XML.

That being said, more powerful regexen in XML Schema would be very welcome :)

_______________________________________________________________________
Robin Berjon <robin@k...> -- CTO
k n o w s c a p e : // venture knowledge agency www.knowscape.com
-----------------------------------------------------------------------
After all, what is your hosts' purpose in having a party?  Surely not for
you to enjoy yourself; if that were their sole purpose, they'd have simply
sent champagne and women over to your place by taxi.


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.