"Stankovic, Bojan" <[EMAIL PROTECTED]> writes:

> I tried to use Xerces SAX2 parser to validate one XML document
> according to external XML Schema, but I don't know what function
> setProperty expects as parameters - behind is C++ function
> SAX2XMLReader::setProperty(const XMLCh* const name, void*
> value). There are many examples how to call it from C++ or Java, but
> I didn't find from Perl.
>
>       Type error in argument 3 of SAX2XMLReader_setProperty. Expected
> _p_void at ...

OK that looks like a bug.

That's SWIG's way of telling me that I didn't do a good job of
wrapping that function. Instead of a C++ void* it should be accepting
any Perl value you give it.

If you could file a bug report on this, I can fix it for the 2.2
release.

Thanks,
jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to