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

Entity references to guard against typos [was Re: vari

Subject: Entity references to guard against typos [was Re: variable definition reuse]
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 22 Mar 2002 12:34:46 -0500
laura jenkins maryland
Jeni,

Bizarre!

I guess it might make sense, for development, *if* the tag set were large and nasty enough to make it worth the overhead. But it seems like alot to do to protect against a problem (typos) that really isn't so bad if you build your stylesheet in little steps and test it as you go (as I hope everyone does). (A good development environment should be able to check for you too. Typos should really not be a problem.)

For production, no way ... normalize it first. It would just be another thing to break.

Cheers,
Wendell

At 09:15 AM 3/22/2002, you wrote:
I've been in discussion recently with someone who wanted to go as far
as declaring all the names of elements and attributes in the source
XML document as entities so that there was an error if he made a typo.
I'd welcome other people's thoughts as to whether that's a good idea
or not...


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

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
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.