Status: Accepted
Owner: Joshua.R.English
Labels: Type-Defect Priority-Medium Usability
New issue 9 by Joshua.R.English: XCheck allows attributes and children to
have the same name
http://code.google.com/p/pyxmlcheck/issues/detail?id=9
What steps will reproduce the problem?
addyCheck = XCheck('address')
addyCheck.add_child(TextCheck('street'), TextCheck('city'))
addyCheck.addattribute(IntCheck('city'))
What is the expected output? What do you see instead?
It should raise an error, until I can get a checker.get('child@attribute')
language. checker.get() always checks and returns attributes first, so
child nodes are lost.
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