[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] XML Schema Parser?



Since you mentioned XSV, is the fact that it is in Perl or anything else all 
that important? Or that it can be programmatically included?

Despite Henry Thompson being associated with XSV I found it not to be quite up 
to snuff yet. Plus you need to be somewhat OK with Python. I'd guess that the 
latest Xerces is probably the best bet at the moment for schema validation, if 
Java is not an issue. One disconcerting thing (at least last time I looked); 
xsd:date was not supported. Go figure.

Arved Sandstrom

Quoting Kevin Hemenway <info@totalnetnh.net>:

>  >Does XML::Checker not do this?  I'm not familiar with the term Schema--is
>  >that the same as a DTD?
> 
> Whereas DTD's are nicely compressed rules, Schemas allow you to write more 
> verbose, easily readable rules. In essence, you define a doctype using XML 
> itself. You can read a really good article about Schema here:
> 
>          http://www.alistapart.com/stories/validate/index.html
> 
> It's the primary reason I asked - this looks more what I want than defining
> 
> a DTD. You can read the W3 spec here:
> 
>          http://www.w3.org/TR/xmlschema-0/
> 
> And finally, there's a webbased validator here:
> 
>          http://www.w3.org/2000/09/webdata/xsv
> 
> I'm just looking for some validator that I can use within production code. 
> I took a look at XML::Checker, and got turned off by the alpha notice...
> 
> Kevin Hemenway
> -- -----------------------------------------------------------------
> Total Net NH, LLC             EMAIL: <info@totalnetnh.net>
> 15 Pleasant St., Suite 11     WEBSITE: <http://www.totalnetnh.net/>
> Concord, NH 03301             PHONE: (603) 225-8422
> --------------------------------------------------------------------
> 
> 
> 
> # ===== Want to unsubscribe from this list?
> # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org
> 


---------------------------------------------------------------
 This mail was sent through the Nova Scotia Provincial Server, 
 with technical resources provided by Chebucto Community Net.
 http://nsaccess.ns.ca/mail/         http://www.chebucto.ns.ca/


# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org