Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XSD - Provide concrete XSD that XML Documents can Validated against #1015

Open
JimWeier-VeteransUnited opened this issue May 10, 2022 · 7 comments

Comments

@JimWeier-VeteransUnited
Copy link

JimWeier-VeteransUnited commented May 10, 2022

If the XML specification is only intended to be an "Abstract" data type, and not a concrete Implementation, It be nice to Create a Standard XSD that can Validate any given XML to See If it Adheres to the Concrete Implementation of a cloud event
CloudEvent.txt, rename this to .xsd - I couldnt upload a .XSD file

@JemDay
Copy link
Contributor

JemDay commented May 10, 2022

Hi @JimWeier-VeteransUnited

At one point we did work on a schema as a part of the XML Format but it turned out to be more productive (for us at least) to work with an expected wire-format while we hashed it out - we followed a similar model for the JSON Format as it turns out.

It's always been a goal to provide a schema so I think it's worthwhile leaving this issue open until that has been done.

I'll try taking a crack at this soon (@jskeet)

@JimWeier-VeteransUnited
Copy link
Author

Hi @JimWeier-VeteransUnited

At one point we did work on a schema as a part of the XML Format but it turned out to be more productive (for us at least) to work with an expected wire-format while we hashed it out - we followed a similar model for the JSON Format as it turns out.

It's always been a goal to provide a schema so I think it's worthwhile leaving this issue open until that has been done.

I'll try taking a crack at this soon (@jskeet)

Attached File May be a good starting point, If you want other input, let me know, I have been with XML and XSD for over 20 years

@duglin
Copy link
Collaborator

duglin commented May 10, 2022

@JimWeier-VeteransUnited I don't see the attachment

@JimWeier-VeteransUnited
Copy link
Author

CloudEvent.txt
Did this come through

@JemDay
Copy link
Contributor

JemDay commented May 10, 2022

Yes .. thanks ... I'll take a look..

@duglin
Copy link
Collaborator

duglin commented Jan 19, 2023

@JemDay any update on this one? still something we should work on?

@github-actions
Copy link

This issue is stale because it has been open for 30 days with no
activity. Mark as fresh by updating e.g., adding the comment /remove-lifecycle stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants