in reply to XML::Twig approach/architecture/design question
After all what you are doing is going out of your way to produce a hybrid XML-something else scheme. But XML seems to already be flexible enough to encompass what you want to do, so why limit yourself to custom tools that handle your almost XML when you can just use XML instead?
Furthermore if you use straight XML, then you gain more flexibility because you have not just introduced a fragile assumption. For instance what happens in your scheme if some piece of data contains, say, some example Perl code, or an email address? Will you grab the @ which appeared for a reason you don't expect and mangle it? That is the kind of common mistake that people made over and over again which is cited as one of the reasons for standardizing on XML...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re (tilly) 1: XML::Twig approach/architecture/design question
by mirod (Canon) on Nov 05, 2001 at 21:02 UTC | |
by John M. Dlugosz (Monsignor) on Nov 05, 2001 at 21:49 UTC | |
|
Re: Re (tilly) 1: XML::Twig approach/architecture/design question
by John M. Dlugosz (Monsignor) on Nov 05, 2001 at 21:39 UTC | |
by tilly (Archbishop) on Nov 05, 2001 at 22:10 UTC | |
by John M. Dlugosz (Monsignor) on Nov 06, 2001 at 01:03 UTC |