Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Support XSD schema complexType with only attributes; with value but no type too (assume string)#559

Merged
srowen merged 1 commit intodatabricks:masterfrom
srowen:XSDAttribute
Sep 20, 2021
Merged

Support XSD schema complexType with only attributes; with value but no type too (assume string)#559
srowen merged 1 commit intodatabricks:masterfrom
srowen:XSDAttribute

Conversation

@srowen
Copy link
Copy Markdown
Collaborator

@srowen srowen commented Sep 20, 2021

Pretty much as it says. This supports cases like:

	<xs:complexType name="foo">
		<xs:attribute name="bar" type="bing" use="required"/>
		<xs:attribute name="baz" type="buzz" use="required"/>
	</xs:complexType>

and

	<xs:complexType name="foo">
		<xs:attribute name="bar" fixed="X" use="required"/>
	</xs:complexType>

@srowen srowen added this to the 0.13.0 milestone Sep 20, 2021
@srowen srowen self-assigned this Sep 20, 2021
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #559 (30919b8) into master (d76a500) will decrease coverage by 0.17%.
The diff coverage is 60.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #559      +/-   ##
==========================================
- Coverage   85.66%   85.49%   -0.18%     
==========================================
  Files          18       18              
  Lines         963      965       +2     
  Branches       94       92       -2     
==========================================
  Hits          825      825              
- Misses        138      140       +2     
Impacted Files Coverage Δ
...la/com/databricks/spark/xml/util/XSDToSchema.scala 61.62% <60.00%> (-1.47%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d76a500...30919b8. Read the comment docs.

@srowen srowen merged commit c054bc2 into databricks:master Sep 20, 2021
@srowen srowen deleted the XSDAttribute branch September 20, 2021 18:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants