javaee / jaxb-spec

Formerly jsr222.java.net
Other
9 stars 16 forks source link

Spec format - abstaract schema components or surface syntax #29

Closed glassfishrobot closed 18 years ago

glassfishrobot commented 20 years ago

This issue (and the following text) was described in Chapter 8, "Java to XML", Section 8.15.2, "Issue: Spec format - abstract schema components verus surface syntax". I moved the text out of the chapter into this issue to clean up chapter 8 for Early Draft version of the specification.

– Start: Text of the issue from Chapter 8 –

Note - Resolution : Specify in terms of abstract schema components. Note - This issue is related to the format in which the specification is written and otherwise does not contribute to the actual content of the specification.

There can be more than one surface syntactic representation for a schema component. So the issue is:

Should the mapping of Java to XML schema he Java->Generated XML schema be specified in terms of surface syntax or abstract schema components defined by the XML Schema specification ?

For example, the following XML schema fragment from XSD Part 0, Primer(the namespace prefix has been changed from xsd: to xs:, used in XML Schema->Java in JAXB 1.0 specification).

The above XML schema fragment can equivalently be written as: For this version of the document, the mapping in terms of abstract of schema components is assumed.One or more examples will also be shown in one surface syntax. However, the examples will be non-normative. – End: Text of the issue from chapter 8 – #### Environment Operating System: All Platform: All #### Affected Versions [2.0 draft]
glassfishrobot commented 20 years ago

Reported by sekhar

glassfishrobot commented 20 years ago

sekhar said: Updating the status to follow the lifecycle issue outlined in the jaxb20-note-0007.txt.

glassfishrobot commented 20 years ago

Was assigned to sekhar

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JSR222-29

glassfishrobot commented 18 years ago

Marked as won't fix on Monday, July 31st 2006, 10:12:25 am