Message193804
| Author | jocassid |
|---|---|
| Recipients | Kyle.Keating, jocassid, terry.reedy |
| Date | 2013-07-28.02:49:49 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1374979789.39.0.0494716899247.issue12129@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I added the line print(str(doc)) after the call to getDomImplementation and verified that the errors that I'm seeing are coming from the xml.dom.minidom implemenation of xml.dom. Checking minidom.py I did not see any validation on the tagName that gets passed to createElement. http://www.w3.org/TR/xml11/#NT-NameStartChar lists the format of allowed names. Attached is a file containing the functions I was working on. My thinking is that if the tagName is not valid a ValueError should be thrown. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2013-07-28 02:49:49 | jocassid | set | recipients: + jocassid, terry.reedy, Kyle.Keating |
| 2013-07-28 02:49:49 | jocassid | set | messageid: <1374979789.39.0.0494716899247.issue12129@psf.upfronthosting.co.za> |
| 2013-07-28 02:49:49 | jocassid | link | issue12129 messages |
| 2013-07-28 02:49:49 | jocassid | create | |