Bear in mind that XML is case-sensitive - it's part of the specification.
Xerces is compliant with the spec. Changing it to be case-insensitive in
some or all cases would break that compliance, so such changes do not belong
in the released code.

In other words, I imagine you'll need to make any necessary changes
yourself, and I wouldn't expect them to be become part of Xerces
distributions. If you really don't care about case, you could modify
XMLString::compareString to be case-insensitive.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 6:49 PM
To: [EMAIL PROTECTED]
Subject: RE: string comparisons in xerces


Dave,

The problem is when I invoke an xerces lib fn like getAttribute("xyz"). This
function internally uses the XMLString::compareString to verify if an
attribute with the name "xyz" is present (case sensitive)..

I wanted to know if there was a way of instructing the xerces functions to
internally use case insensitive string compares.

Or, in other words, as I mentioned earlier, to treat the xml in a case
insensitive manner...

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

Reply via email to