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

Use multiple xml files? #556

Closed
noahtaylor opened this issue May 10, 2018 · 2 comments
Closed

Use multiple xml files? #556

noahtaylor opened this issue May 10, 2018 · 2 comments
Labels

Comments

@noahtaylor
Copy link

Is it possible to use includes with sbe? I want to have multiple schema that have some common types. For example I want to have a common file that has the message header in it. Then have to other files that use the same message header. Is this possible?

@tmontgomery
Copy link
Contributor

Sadly, not possible to do Xinclude and validate with schemas. https://stackoverflow.com/questions/1098116/xinclude-schema-namespace-validation

We chose to promote schemas and to not make this complicated by also supporting Xinclude. It would just make things very complicated configuration wise as well as be very error prone.

It's possible to use Xinclude and XSLT or just simple XML tools to build a complete XML file to feed to SbeTool that does not contain the Xinclude.

@noahtaylor
Copy link
Author

Yeah ok. Thanks for getting back to me!

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

No branches or pull requests

2 participants