Skip to content

Support for xs:redefine #192

@dyedgreen

Description

@dyedgreen

I think a schema which redefines an existing schema using xs:redefine is currently not supported.

A simple sample schema might look something like this:

<xs:schema
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="foo"
    targetNamespace="foo"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
>
	<xs:redefine schemaLocation="initial_schema.xsd">
		<xs:simpleType name="bar">
			<xs:restriction base="bar">
				<xs:enumeration value="80">
					<xs:annotation>
						<xs:documentation>…</xs:documentation>
					</xs:annotation>
				</xs:enumeration>
			</xs:restriction>
		</xs:simpleType>
    …
    </xs:redefine>
</xs:schema>

Would there be interest in supporting this (and if so are outside PRs welcome for features like this)?

Metadata

Metadata

Assignees

Labels

featureFeature request

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions