gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaby Ortiz (Jira)" <j...@apache.org>
Subject [jira] [Commented] (GORA-455) Create XSD's for all datastore xml mapping files
Date Sun, 18 Oct 2020 06:15:00 GMT

    [ https://issues.apache.org/jira/browse/GORA-455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17216108#comment-17216108
] 

Gaby Ortiz commented on GORA-455:
---------------------------------

Hi [~lewismc]

I am still interested in addressing this issue.

I gave a look to the xml mapping files, searching on github 'xml mapping' and filtering only
the xml files, and I noticed they are all different. For instance, the tag used for mapping
of a class can be called 'table' or 'class', and its attributes 'attribute', 'field', 'column',
depending the datastore.

So, I think that I have to create a XSD file for each datastore right?. Or I can create a
single XSD and create a independent set of elements for each datastore by using a different
namespaces. What do you think is the best solution?

Moreover, I think that I should add a validation when the xml mappings are parsed, where can
I find this?.

Also, I only found xml mapping files in tests, are these the only files that need to be validated
using XSD?.

 

Regards,

Gaby

 

> Create XSD's for all datastore xml mapping files
> ------------------------------------------------
>
>                 Key: GORA-455
>                 URL: https://issues.apache.org/jira/browse/GORA-455
>             Project: Apache Gora
>          Issue Type: New Feature
>          Components: schema
>    Affects Versions: 0.7
>            Reporter: Lewis John McGibbney
>            Priority: Major
>             Fix For: 1.0
>
>
> When creating new mappings it would be great to have XSD's to comply with. If our XSD's
also had URI's then it would be very easy to streamline the generation of XML mappings.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message