highsource / highsource/jaxb-tools

Cannot rename attribute in XSD

Open
#180 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
465
Forks
105
PR merge metrics
No merged PRs in 30d

Description

I am trying to generate Java classes from our XSD and we have a duplicate attribute name in schema file [http://schemas.opengis.net/gml/3.2.1/gmlBase.xsd](http://schemas.opengis.net/gml/3.2.1/gmlBase.xsd)

On line 79 there is an attribute with name "owns" which appears to be duplicated (or maybe this schema is imported several times, dunno. Tried using episodes without success).

I tried to rename it using bindings

``
``
``
``
``
``
``
``
``
``

The result is that 'owns' is renamed to OwnershipAttributeGroupOwns and that is also duplicated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.