This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Entity references to guard against typos [was Re: variable definition reuse]


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@mulberrytech.com
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]