Hi,

I am looking into doing dynamic form generation from xml documents. I know I will have to validate xml forms based on the associated xml schemas. I was wondering if there's a perl module available that does it.

I am using ActivePerl 5.8 on Windows. There's XML::Validator::Schema module available via PPM. I tried it, but it doesn't have any support for namespaces in the current version and I do need the namespace support. There's XML::Xerces available for Perl on Unix/Linux systems that fully supports the XML Schema standard, but it is not available as a package for ActivePerl.

What are my choices, do I have to get the source code for XML::Xerces and compile it for my Windows system? I don't have any experience doing that and I wonder how hard it would be to do. If it were easy, someone would have already ported it to Windows. I looked online and it seems like an ancient version of XML::Xerces (1.5) had been ported to Windows, but I can't seem to find any perl package repository that has it.

Any advice would be appreciated!

Alex

In reply to XML Validation from ActivePerl by relax99

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.