[Xml-compile] "inheriting" toXML ?
E R
pc88mxer at gmail.com
Tue Oct 23 20:57:17 GMT 2012
Stepping back one question...
Can I change the representation of the 'xsd:dateTime' type via addTypemaps()?
(Here 'xsd:' is xmlns:xsd="http://www.w3.org/2001/XMLSchema" )
In my above example, I can get rid of the error message by adding:
sub toXML { die "here" }
to the mydate package. toXML() never gets called, but now I get a new error:
error: complex or simpleType dateTime for typemap unknown
I get a similar error if I use:
$schema->addTypemap('xsd:datetime' => 'mydate');
More information about the Xml-compile
mailing list