Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
adgjlsfhk1
3y ago
0 comments
Share
and then you'll read an xml file that doesn't meet your schema and your code will crash
0 comments
default
newest
oldest
delta_p_delta_x
3y ago
That's the point of the schema—use it to generate compliant serialisation/deserialisation code, and use
that
code to generate/read your schema-compliant XML.
No issues anywhere. There's only one point of failure here: bugs in the code generator.
lenkite
3y ago
With nice validation errors pointing to line, col where unexpected information was found. I'll definitely take that.
j
/
k
navigate · click thread line to collapse