My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 116: Validation of values passed to XML file.
1 person starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  charles....@gmail.com


 
Project Member Reported by charles....@gmail.com, Aug 2, 2009
Hello All,

we need to check the values between the tag

<TIER>1a2</TIER> //invalid
<TIER>a1</TIER> //invalid
<TIER>-1</TIER> //invalid

Basically strtoll() function call will do it but the code seems to be not
running properly.

I am looking after the issue.

This may even change the code of all the three parsers.
Aug 2, 2009
Project Member #1 charles....@gmail.com
I plan to write a function which checks whether a string has only digits or not.
If all the characters are digits it means that the string is correct and a simple
call to one of the functions from the strto* family will give me correct +ve values.

The second check Whether a tier is valid or not can be checked by getting the number
of tiers from the device info file.
Aug 2, 2009
Project Member #2 sandeepksinha
(No comment was entered for this change.)
Summary: Validation of values passed to XML file.

Powered by Google Project Hosting