DO NOT REPLY [Bug 29694] New: - SetProperty() fails with 'expected _p_void'
| Newsgroups | gmane.text.xml.xerces-p.devel |
|---|---|
| Message-ID | <[email protected]> |
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29694>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29694
SetProperty() fails with 'expected _p_void'
Summary: SetProperty() fails with 'expected _p_void'
Product: Xerces-P
Version: 2.5.0
Platform: All
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: SWIG
AssignedTo: [email protected]
ReportedBy: [email protected]
From: "Stankovic, Bojan" <[email protected]>
Subject: setProperty of Xerces
To: "'[email protected]'" <[email protected]>
Date: Thu, 13 Mar 2003 09:19:57 +0100
Hello,
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.
I used :
my
$id="http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocat
ion";
my $sch="configuration.xsd";
$parser->setProperty($id,$sch);
and error message was:
Type error in argument 3 of SAX2XMLReader_setProperty. Expected
_p_void at ...
Could somebody help me, please?
Kind regards
Bojan