Skip to content

XSD generate #64

Answered by alexrp
aovzerk asked this question in Questions
Dec 10, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

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.
  • etc...

Replies: 1 comment 3 replies

Comment options

alexrp
Dec 11, 2022
Maintainer Sponsor

You must be logged in to vote
3 replies
@aovzerk
Comment options

@alexrp
Comment options

alexrp Dec 11, 2022
Maintainer Sponsor

@aovzerk
Comment options

Answer selected by alexrp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants