Should validation-configuration and validation-mapping xsds define a version attribute

Description

Currently the xsd files don't define a version attribute similar to the version attribute used in orm.xml (JPA).

Without a version attribute it will be hard to handle any non backwards compatible changes to the xsd. That might not be an issue though.

For BV 1.1 all changes so far are just additions to the existing xsd and are easy to handle.

Discussion: http://lists.jboss.org/pipermail/beanvalidation-dev/2012-June/000405.html

Environment

None

Activity

Show:
Gunnar Morling
August 4, 2012, 4:54 PM

As discussed on beanvalidation-dev, we should have a "version" attribute in the root element in order to be consistent with other EE specs and allow for chosing the XML schema to validate against.

Fixed

Assignee

Gunnar Morling

Reporter

Hardy Ferentschik

Labels

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

Priority

Major
Configure