The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

XML::Compile::Schema::Specs - Predefined Schema Information

INHERITANCE

SYNOPSIS

 # not for end-users
 use XML::Compile::Schema::Specs;

DESCRIPTION

This package defines the various schema-specifications, however currently only supports the last one: http://www.w3.org/2001/XMLSchema. It is simple to extend the list of supported schemas, but someone has to do it. Feel invited.

METHODS

XML::Compile::Schema::Specs->builtInType(EXPANDED | (URI,LOCAL), OPTIONS)

    Provide an EXPANDED (full) type name or an namespace URI and a LOCAL node name. Returned is a HASH with process information or undef if not found.

     Option         --Default
     sloppy_integers  <false>

    . sloppy_integers => BOOLEAN

      the <decimal> and <integer> types must accept huge integers, which require Math::Big* objects to process. But often, Perl's normal signed 32bit integers suffice... which is good for performance, but not standard compliant.

XML::Compile::Schema::Specs->predefinedSchema(URI)

    Return a HASH which contains the schema information for the specified URI (or undef if it doesn't exist).

XML::Compile::Schema::Specs->predefinedSchemas

    Returns the uri of all predefined schemas.

SEE ALSO

This module is part of XML-Compile distribution version 0.51, built on August 10, 2007. Website: http://perl.overmeer.net/xml-compile/

LICENSE

Copyrights 2006-2007 by Mark Overmeer. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html