Re: How to specify a "_p_void" value for Sax2XMLReader::setProperty?

[email protected] (Jason E. Stewart)
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>
Martin Raspe <[email protected]> writes:

> $parser->setProperty(
>   "http://apache.org/xml/properties/schema/external-schemaLocation",
>   "http://www.example.com file_name.xsd");
> 
> Any way I try it, I get the error message
> 
> Error in eval: Type error in argument 3 of SAX2XMLReader_setProperty.
> Expected _p_void at validationtest.pl line 45.
> 
> What is the perl equivalent of a _p_void? Am I missing something? Or
> is it a bug? Thanks for any ideas,

Sorry Martin,

This is a bug in the Perl API. I need a SWIG typemap to handle a void*
pointer to C++, I gave an in-depth discussion of this last week. You
can check the archives:

  http://nagoya.apache.org/eyebrowse/[email protected]&msgId=1181302

Cheers,
jas.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.