Proposal for change to VOTable schema - PowerPoint PPT Presentation

1 / 5
About This Presentation
Title:

Proposal for change to VOTable schema

Description:

Requires xsi:type construct to indicate which precise class is used. ... xs:complexType name='Data' abstract='true'/ xs:complexType name='Tabledata' ... – PowerPoint PPT presentation

Number of Views:12
Avg rating:3.0/5.0
Slides: 6
Provided by: ivoa
Category:

less

Transcript and Presenter's Notes

Title: Proposal for change to VOTable schema


1
Proposal for change to VOTable schema
  • Without changing set of valid documents (modulo
    undesired ones)
  • http//www.ivoa.net/forum/votable/0504/0748.htm

2
Motivation
  • Reuse of certain, but not all constructs (FIELD)
  • Validates easier (ltTD/gt currently valid)
  • OO motivation (see dm session)
  • Similar change accepted in registry group,
    hopefully in dm.
  • Cleaner design (simpler, example XMLBeans)

3
(No Transcript)
4
Changes
  • No element ref construct.
  • No global elements for attributes and contained
    classes.
  • Analogy to Java binding
  • Complex type ltgt class
  • Typed ltelementgt declarations ltgt Fields in class
    definition
  • Default document ltgt a main method using the
    classes.
  • Global elements ltgt variable declarations local
    to main method
  • Single inheritance mapping, only extension, no
    substitutionGroupRequires xsitype construct to
    indicate which precise class is used.
  • Can support a more involved special purpose
    document to/from the official default registry
    document using XSLT scripts for example (view
    concept).
  • See also http//www.xml.com/pub/a/2002/08/07/wxs_
    uml.html and others
  • Probably more
  • VOTable redesign

5
  • ltxscomplexType name"Data"gt
  • ltxschoicegt
  •   ltxselement
  • name"TABLEDATA"
  • type"TableData" /gt
  •   ltxselement name"BINARY"
  • type"Binary"/gt
  •   ltxselement name"FITS"
  • type"Fits" /gt
  •   lt/xschoicegt
  •   lt/xscomplexTypegt
  • ltxscomplexType name"Data abstracttrue/gt
  • ltxscomplexType nameTabledata/gt
  • ltxscomplexContent
  • ltxsextension baseDatagt
  • ...
  • ltTABLEgt. ltDATA xsitype"TableData"gt...
    lt/DATAgt
  • lt/TABLEgt
Write a Comment
User Comments (0)
About PowerShow.com