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

Support XSD/XML Type Manifold #111

Closed
rsmckinney opened this issue Aug 16, 2019 · 7 comments
Closed

Support XSD/XML Type Manifold #111

rsmckinney opened this issue Aug 16, 2019 · 7 comments
Labels

Comments

@rsmckinney
Copy link
Member

@rsmckinney rsmckinney commented Aug 16, 2019

Support XSD (XML) via type manifold

Initial thoughts:
Use XJC (via JAXB) to dynamically produce source

@sporkisfaster

This comment has been minimized.

Copy link

@sporkisfaster sporkisfaster commented Oct 24, 2019

Looking through the commits and some source it seems you have an xml parser? Is that related to this?

@rsmckinney

This comment has been minimized.

Copy link
Member Author

@rsmckinney rsmckinney commented Oct 24, 2019

@sporkisfaster Hey long time. The XML parser will likely be used for the XSD Manifold, however it was created for use with other manifolds where an XML file is used to define or contribute to a separate type. For example, an XSD file might define a Person element which the XSD Manifold exposes indirectly as a Java Person type, thus the XML is just a the I/O for the XSD defined type. You could also have XML files where XSDs don't matter; the data in the files corresponds with one or more logical types you care about. A manifold for this set of XML files needs an XML parser to make sense of the data. The only real reason I created this parser was to encode location information for XML elements and attributes for use with code navigation in IDEs (off the shelf XML parsers do not preserve that level of info).

@sporkisfaster

This comment has been minimized.

Copy link

@sporkisfaster sporkisfaster commented Oct 24, 2019

Gotcha. Is there anything I/community can do to assist with the XML manifold? I've suddenly run into a use case for it

@rsmckinney

This comment has been minimized.

Copy link
Member Author

@rsmckinney rsmckinney commented Oct 24, 2019

Do you want to use XSD or plain XML? If the latter, you are talking about a custom Manifold that uses the XML parser, I can help you get started on that. If the former, I can bump the priority of the XSD manifold, but no promises on when that work begins, sorry.

@sporkisfaster

This comment has been minimized.

Copy link

@sporkisfaster sporkisfaster commented Oct 24, 2019

Yes just on an XML basis.

@sporkisfaster

This comment has been minimized.

Copy link

@sporkisfaster sporkisfaster commented Oct 24, 2019

Should we keep the discussion in the issue or offline it? Also preemptive thanks for the help! Love this tool

@rsmckinney

This comment has been minimized.

Copy link
Member Author

@rsmckinney rsmckinney commented Oct 24, 2019

I'll move the discussion to a separate issue. Thanks, I appreciate the support!

@rsmckinney rsmckinney closed this Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.