Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

grantm (164)

grantm
  (email not shown publicly)
http://www.mclean.net.nz/

Just a simple [cpan.org] guy, hacking Perl for fun and profit since way back in the last millenium. You may find me hanging around in the monestary [perlmonks.org].

What am I working on right now? Probably the Sprog project [sourceforge.net].

GnuPG key Fingerprint:
6CA8 2022 5006 70E9 2D66
AE3F 1AF1 A20A 4CC0 0851

Journal of grantm (164)

Thursday September 08, 2005
04:27 AM

Crackpots

[ #26641 ]

Publishing a module on CPAN can open you up to receiving many emails containing all manner of questions and feature requests. Most will come from people who have not bothered to read the documentation or the FAQs. Some will come from people who can most kindly be described as nutters.

I have recently received a string of emails from one correspondent who wishes to simplify XML::Simple by building in XSD schema support. Arggghhhhhh!!!

I made the mistake of replying to one of his earlier emails. I won't make that mistake again.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Excuse me for not having RTFPod myself, but XML::Simple doesn't do validation? If not, does that mean I'm really only limited to using XML::Simple in the sort of situations that don't really justify the use of XML at all... like say config files.

    "If you don't need a schema, you don't need XML"
    • If you want simple and validated - use XML Twig - it provides a powerful API with optional validation (iirc) and also the Simplify method which gives you XML::Simple style data.

      Furthermore - most XML processing doesn't require validation against a schema or DTD - usually you have a bunch of fields you are interested in and what get stuff out of or update - so long as they roughly the shape you expect things are fine.

      Validation would check that required fields and attributes, etc are present but frequently t
      --

      @JAPH = qw(Hacker Perl Another Just);
      print reverse @JAPH;