$ PERL5LIB=/usr/local/lib/perl5 /opt/bcs/bin/perl -Iblib/lib t/017_generator.t
1..22
ok 1 - use SOAP::WSDL::Generator::Template::XSD;
ok 2 - get object tree
Creating interface class Test/Interface/MessageGateway/HTTPPort.pm
Creating typemap class Test/Typemap/MessageGateway.pm
/home/sitz/src/perl/modules/SOAP-WSDL-2.00_33/blib/lib/SOAP/WSDL/Generator/Template/XSD\complexType.tt file error - parse error - complexType/POD/attributeSet.tt line 25-29: unexpected token (_)
[% IF (type_name=element.get_type);
type = definitions.get_types.0.find_type(element.expand(type_name));
IF (! type);
THROW NOT_FOUND "type " _ type_name _ " for attribute " _ element.get_name _ " not found";
END; %] at blib/lib/SOAP/WSDL/Base.pm line 53
# Looks like you planned 22 tests but only ran 2.
# Looks like your test died just after 2.
Upgrading Template-Toolkit to 2.19 fixes this issue.
Patch requires Build.PL to require Template >=2.18
Logged In: YES
user_id=17500
Originator: YES
Addendum; while 2.19 fixes the issue, 2.18 is the earliest version which does so. Attached patch is against trunk.
File Added: Build.PL.diff
Logged In: YES
user_id=17500
Originator: YES
Patch committed as r629.