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

re: [SML] Numeric character references

  • From: rev-bob@g...
  • To: xml-dev@i...
  • Date: 28 Nov 99 10:24:00 -0500

decimal numeric character references
> > > I just do not see the point of offering both hex and decimal.
> > > Convenience doesn't fly since writer might be used to hex and
> > > the reader might be used to decimal.
> >
> > Funny - that's exactly why convenience DOES fly.  If I'm used to hex and you're
> > used to decimal, doesn't it make sense to allow both?  It's a trivial conversion
> > that makes for a lot more ease for users - allowing both is a no-brainer
> 
> I agree with Don here.  Accomodating the coder's convenience in the language
> itself is the first step on the road to another SGML.  A higher level tool
> or API can easily handle the conversion, so put it there, not in the parser.

And here I thought the whole purpose of SML was to make things simpler for the 
*user*, not to make things easier on lazy programmers.  Silly me.

BTW, if you're going to need a higher-level tool or an API, why bother switching from 
XML in the first place?  Just write a tool or an API that has SML's training wheels, and 
tie it to a full-blown XML parser....

I guess what this boils down to for me is that, to represent complex data, you have to 
have some minimum level of complexity somewhere.  You can play the shell game of 
API vs. HLT vs. parser vs. document code all you want, but the complexity has to be 
there somewhere.  Passing something as simple as hex <=> dec conversion over to a 
different component doesn't remove the complexity - it just shuffles it around.



 Rev. Robert L. Hood  | http://rev-bob.gotc.com/
  Get Off The Cross!  | http://www.gotc.com/

Download NeoPlanet at http://www.neoplanet.com


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



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.