pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandro Martini (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-936) Create a XML Schema for BXML
Date Fri, 28 Feb 2014 10:56:21 GMT

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

Sandro Martini commented on PIVOT-936:
--------------------------------------

Hi,
the old request referring to a missing DTD (or even an XSD) for simplifying BXML writing was
close because BXMLSerializer uses Java reflection to inspect Pivot Beans., so it's hard to
generate a schema from all our beans and keep it aligned with code. Of course a schema to
check/validate bxml files would be useful.

But in a child subproject I think that a tool for inspecting Pivot Beans (and maybe others),
and generate/update schema definition could be useful. Contributions are welcome.
What do you think ?

> Create a XML Schema for BXML
> ----------------------------
>
>                 Key: PIVOT-936
>                 URL: https://issues.apache.org/jira/browse/PIVOT-936
>             Project: Pivot
>          Issue Type: Improvement
>          Components: core-xml
>            Reporter: Labrosse Aurélien
>
> I saw an older bug that focuses on DTD, which was sadely closed. 
> From my point of view using XML without schema is dangerous for project adoption : as
a model driven architecture fan, i can't use a perfect mapping to produce BXML code without
an ugly generator. 
> The xml schema would suppress this limitation and leverage Pivot to a more professional
level. It would allow its core syntax to be used in various existing model transformation
tools available on the Open Source market.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message