XSD generate
#64
-
How do you generate xsd files? |
Beta Was this translation helpful? Give feedback.
Answered by
alexrp
Dec 11, 2022
Replies: 1 comment 3 replies
-
99% of XSDs are generated by walking the data tree and empirically observing the schema that seems to have been used. The other 1% can only be done by human intervention; in general, there is no way to distinguish a truly recursive schema from one that only appears to be recursive. A few examples:
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
alexrp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
99% of XSDs are generated by walking the data tree and empirically observing the schema that seems to have been used.
The other 1% can only be done by human intervention; in general, there is no way to distinguish a truly recursive schema from one that only appears to be recursive.
A few examples:
/TaskDef/TaskClass/Param/Param/...
is a case of real recursion./WorldData/MoneyString/MoneyString/...
is not actually recursive./SkillData/Skill/Property/Property/...
is recursive./FootStepSound/FootStepSound/...
is not.