Hi,

I've recently compiled Xerces-C 2.3.0-1, and XML-Xerces-2.3.0-4.  I'm
using Debian woody. (g++ version 3.0.4)

All was going well, but I'm having trouble with AttributeList_getValue
when validating against a Schema - trouble with AttributeList->to_hash():

No matching function for overloaded 'AttributeList_getValue' at
/usr/local/lib/perl/5.6.1/XML/Xerces.pm line 261.

Searching on Google, I've seen other messages on this group regarding
this issue, but no resolution.  I was wondering if more was known about it.

At first, I was confused why this would be an issue with schemas, until I realised that the schema defined default attributes for some elements, so that these elements only appeared to contain attributes when parsed against the schema.

More information:

Running make test, AttributeList.t fails at test 5 with the above error
message (other tests also fail - I can provide details if necessary).

From my tests, it appears that the issue appears whenever there are two or more attributes - one attribute works fine. In particular, when there is more than one attribute, getValue(0) works but it breaks at getValue(1). I tried to see if I could fix this myself, but really don't know SWIG at all!

Is there any way round this? Accessing the attributes by name is not an option I'd like to resort to, though if needs must...

Many thanks,

Bob.


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



Reply via email to