Validate an XSD Schema?

前端 未结 5 868
無奈伤痛
無奈伤痛 2021-01-31 15:50

I\'m writing an XML schema (an XSD) to describe the format our partners should send us data in.

And I\'m having a hard time finding a tool that can validate the XSD sche

5条回答
  •  终归单人心
    2021-01-31 16:50

    the Java SDK comes with a standard tool called xjc . This tool generates the classes parsing your schema. You could use this code to validate your partners' input.

    See also : http://www.java2s.com/Tutorial/Java/0440__XML/ThexjcTool.htm

提交回复
热议问题