Issue 7 in pyxmlcheck: checker.to_dict turns dates into booleans

0 views
Skip to first unread message

pyxml...@googlecode.com

unread,
Oct 12, 2013, 3:12:22 PM10/12/13
to pyxmlchec...@googlegroups.com
Status: Accepted
Owner: Joshua.R.English
Labels: Type-Defect Priority-Medium DatetimeCheck

New issue 7 by Joshua.R.English: checker.to_dict turns dates into booleans
http://code.google.com/p/pyxmlcheck/issues/detail?id=7

What steps will reproduce the problem?
1. ch = DateTimeCheck('when', format="%m/%d/%Y")
2. print ch.to_dict(ET.fromstring('<when>10/12/2013</when>'))
3. output is {'when': True}

What is the expected output? What do you see instead?

{'when': '10/12/2013'}

Please use labels and text to provide additional information.



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages