NAME
SVG::Rasterize::Specification
- data structures derived from DTD
VERSION
Version 0.001005
DESCRIPTION
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.
ADDITIONS
Datatypes
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.
Additions
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.
ACKNOWLEDGEMENTS
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.
SEE ALSO
AUTHOR
Lutz Gehlen, <perl at lutzgehlen.de>
LICENSE AND COPYRIGHT
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.