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

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 schema's, 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 --Defined in--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 schema's.

REFERENCES

See the XML::Compile website at http://perl.overmeer.net/xml-compile/ for more details.

COPYRIGHTS

Module version 0.08. Written by Mark Overmeer (mark@overmeer.net). See the ChangeLog for other contributors.

Copyright (c) 2006 by the author(s). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.