Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sorenjan
on Oct 29, 2019
|
parent
|
context
|
favorite
| on:
XML is almost always misused
But the starting point in the example was
<item name="name" value="John" /> <item name="city" value="London" />
where the key names are used as attributes, so it wouldn't work with arbitrary key names either, right?
progval
on Oct 29, 2019
[–]
It would work (kind of); most XML parsers/generators would take care of escaping and unescaping quotes; but there's no way in the XML spec to escape characters in tag names.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: