SVG::Rasterize::Specification - data structures derived from DTD
SVG::Rasterize::Specification
Version 0.001006
This file is automatically generated using the SVG DTD available under http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-flat-20030114.dtd.
The data structures are used mainly by SVG::Rasterize::State for validation and processing of the SVG input tree.
The DATATYPE_REGEX hash is not derived from the DTD. The datatypes are defined by entities in the DTD, but they all expand to 'CDATA'. SVG::Rasterize makes use of this finer granularity of the DTD by overriding this entity expansion.
DATATYPE_REGEX
SVG::Rasterize
The additions at the very end of the module are corrections to the automatically generated data structures that I consider necessary. The xmlns:svg attribute is set by default by the SVG class. I am not sure if this is against the SVG specification. The DTD allows to enable prefixes which then might allow to set this attribute. Therefore, I decided to allow it as well. This and future additions will be well separated from the automatically generated data structures.
xmlns:svg
SVG
The parsing of the SVG DTD in order to generate the data structures in this module was done with XML::DTD by Brendt Wohlberg. Brendt was very responsive and helpful with all issues that arose during the process of solving this task.
XML::DTD
Lutz Gehlen, <perl at lutzgehlen.de>
<perl at lutzgehlen.de>
Copyright 2010 Lutz Gehlen.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install SVG::Rasterize, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SVG::Rasterize
CPAN shell
perl -MCPAN -e shell install SVG::Rasterize
For more information on module installation, please visit the detailed CPAN module installation guide.