You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dcramer@anatine ~/Desktop/json2plainparams/json_schema (master)
$ ./json2xml.py test.json
Debug mode is on. Events are logged at: dicttoxml.log
test.json
Traceback (most recent call last):
File "./json2xml.py", line 18, in <module>
dom = parseString(xml)
File "/usr/lib/python2.7/xml/dom/minidom.py", line 1931, in parseString
return expatbuilder.parseString(string)
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 940, in parseString
return builder.parseString(string)
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 46
Due to the fact that <^.{0,256}$>foo</^.{0,256}$> would not be well-formed xml.
I would suggest an xml format like foo to avoid this problem.
The text was updated successfully, but these errors were encountered:
Thanks! Btw., in my original message I see that my suggested output was munged because I hadn't escaped the angle brackets. Here's what I was trying to say: "I would suggest an xml format like <key name="^.{0,256}$">foo</key> to avoid this problem. "
Given the input JSON:
I receive the following error:
Due to the fact that <^.{0,256}$>foo</^.{0,256}$> would not be well-formed xml.
I would suggest an xml format like foo to avoid this problem.
The text was updated successfully, but these errors were encountered: