Menu

#14 HasAttribute() is case sensitive

New
nobody
None
Medium
Defect
2014-11-08
2014-11-08
Anonymous
No

Originally created by: jac....@gmail.com

If I check existing "ABC" attribute by "abc" string then method HasAttribute() return False.
But method GetAttributeByName() return proper value.

Problem is with compare way, in HasAttribute is:

  if AttributeName[i] = AName then

but in GetAttributeByName() is:

  if Utf8CompareText(A.Name, AName) = 0 then

Please update HasAttribute to use Utf8CompareText function()

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.