[xml] Is xmlGetProp() case sensitive?



Ben writes:
It really doesn't seem like it should be, but I have an element with a
property "name". Calling xmlGetProp() with "Name" gives me null, and
calling it with "name" gives me the right answer. What am I missing?

nothing, it is normal - see xml specifications

match : (Of strings or names:) Two strings or names being compared must be identical. Characters with 
multiple possible representations in ISO/IEC 10646 (e.g. characters with both precomposed and base+diacritic 
forms) match only if they have the same representation in both strings. No case folding is performed.

Jean


_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]