You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (Jira)" <ji...@apache.org> on 2026/10/04 01:32:00 UTC
[jira] [Updated] (CAY-3041) Unify XML style across XSDs
[ https://issues.apache.org/jira/browse/CAY-3041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik updated CAY-3041:
---------------------------------
Description:
As a part of v14 upgrade, let's unify the XML style. We have an unwieldy mix of "kebab" case and camel case tags and attributes. Let's just use the shorter camelCase everywhere. Other changes:
* drop "project-version" attribute. Resolve it via XMLNS
{noformat}
┌─────────────────────────┬───────┬───────────┬─────────┐
│ XSD │ kebab │ camelCase │ Neutral │
├─────────────────────────┼───────┼───────────┼─────────┤
│ modelMap.xsd elements │ 29 │ 0 │ 7 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ modelMap.xsd attributes │ 18 │ 12 │ 14 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ cgen.xsd elements │ 0 │ 16 │ 5 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ dbimport.xsd elements │ 0 │ 18 │ 4 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ domain.xsd elements │ 0 │ 0 │ 3 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ domain.xsd attributes │ 1 │ 0 │ 2 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ info.xsd elements │ 0 │ 0 │ 1 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ info.xsd attributes │ 0 │ 0 │ 2 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ validation.xsd elements │ 0 │ 0 │ 2 │
└─────────────────────────┴───────┴───────────┴─────────┘
{noformat}
was:
As a part of v14 upgrade, let's unify the XML style. We have an unwieldy mix of "kebab" case and camel case tags and attributes. Let's just use the shorter camelCase everywhere.
{noformat}
┌─────────────────────────┬───────┬───────────┬─────────┐
│ XSD │ kebab │ camelCase │ Neutral │
├─────────────────────────┼───────┼───────────┼─────────┤
│ modelMap.xsd elements │ 29 │ 0 │ 7 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ modelMap.xsd attributes │ 18 │ 12 │ 14 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ cgen.xsd elements │ 0 │ 16 │ 5 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ dbimport.xsd elements │ 0 │ 18 │ 4 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ domain.xsd elements │ 0 │ 0 │ 3 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ domain.xsd attributes │ 1 │ 0 │ 2 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ info.xsd elements │ 0 │ 0 │ 1 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ info.xsd attributes │ 0 │ 0 │ 2 │
├─────────────────────────┼───────┼───────────┼─────────┤
│ validation.xsd elements │ 0 │ 0 │ 2 │
└─────────────────────────┴───────┴───────────┴─────────┘
{noformat}
> Unify XML style across XSDs
> ---------------------------
>
> Key: CAY-3041
> URL: https://issues.apache.org/jira/browse/CAY-3041
> Project: Cayenne
> Issue Type: Task
> Reporter: Andrus Adamchik
> Assignee: Andrus Adamchik
> Priority: Minor
> Fix For: 5.0-M4
>
>
> As a part of v14 upgrade, let's unify the XML style. We have an unwieldy mix of "kebab" case and camel case tags and attributes. Let's just use the shorter camelCase everywhere. Other changes:
> * drop "project-version" attribute. Resolve it via XMLNS
> {noformat}
> ┌─────────────────────────┬───────┬───────────┬─────────┐
> │ XSD │ kebab │ camelCase │ Neutral │
> ├─────────────────────────┼───────┼───────────┼─────────┤
> │ modelMap.xsd elements │ 29 │ 0 │ 7 │
> ├─────────────────────────┼───────┼───────────┼─────────┤
> │ modelMap.xsd attributes │ 18 │ 12 │ 14 │
> ├─────────────────────────┼───────┼───────────┼─────────┤
> │ cgen.xsd elements │ 0 │ 16 │ 5 │
> ├─────────────────────────┼───────┼───────────┼─────────┤
> │ dbimport.xsd elements │ 0 │ 18 │ 4 │
> ├─────────────────────────┼───────┼───────────┼─────────┤
> │ domain.xsd elements │ 0 │ 0 │ 3 │
> ├─────────────────────────┼───────┼───────────┼─────────┤
> │ domain.xsd attributes │ 1 │ 0 │ 2 │
> ├─────────────────────────┼───────┼───────────┼─────────┤
> │ info.xsd elements │ 0 │ 0 │ 1 │
> ├─────────────────────────┼───────┼───────────┼─────────┤
> │ info.xsd attributes │ 0 │ 0 │ 2 │
> ├─────────────────────────┼───────┼───────────┼─────────┤
> │ validation.xsd elements │ 0 │ 0 │ 2 │
> └─────────────────────────┴───────┴───────────┴─────────┘
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)