Subject: | support_features not loaded in ParserDetails.ini not set |
I'm testing XML::SAX::ExpatXS, so I haven't loaded it into the main install area. I have a personal ~/lib directory I work in. I have a SAX.ini where I specified:
ParserPackage = XML::SAX::ExpatXS (0.01)
When I try to use XML::SAX::ParserFactory->parser(), the @supported_features aren't set before new() is called.
Wrapping the setting of @supported_features in a BEGIN{} block fixes the problem.
Also - is there a reason why you explicitly set each of the features using an index into @supported_features vs. using a loop over @supported_features?
Thanks,
Rob