How to add inline xml schema using jaxb?

Why are there such a ridiculous number of XML schema standards?

  • http://en.wikipedia.org/wiki/XML_schema Document Content Description facility for XML, an RDF framework[1] Document Definition Markup Language (DDML) Document Schema Definition Languages (DSDL) Document Structure Description (DSD) Document Type Definition (DTD) Namespace Routing Language (NRL) RELAX NG and its predecessors RELAX and TREX SGML Schema for Object-Oriented XML (SOX) Schematron XML-Data Reduced (XDR) XML Schema (WXS or XSD) Do we need this many "standards"?

  • Answer:

    Explaining why some standardization efforts succeed and others turn into alphabet soup is beyond the scope of a Quora question... but I would encourage you to start with this post by Tim Bray, an author of the original XML specification, to get a taste of the disagreement within the community:  http://www.tbray.org/ongoing/When/200x/2006/11/27/Choose-Relax

Michael Hanson at Quora Visit the source

Was this solution helpful to you?

Other answers

The main XML schemas are W3C XSD, Relax-NG, and Schematron. A document type definition (DTD) is a set of markup declarations that define a document type for an SGML-family markup language (SGML, XML, HTML). DTD does not use the rules and syntax defined in XML specification so it is not XML schema.Here are references to the technical specifications:W3C XML Schema Definition Language (XSD) 1.1 Part 1: Structureshttps://www.w3.org/TR/2012/REC-xmlschema11-1-20120405/W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypeshttps://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/Relax-NG -https://www.oasis-open.org/committees/relax-ng/compact-20021121.html

Nalini Jensen

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.