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

TRANG generates <xs:import namespace="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="xsi.xsd"/> #279

Open
GerbenAbbink opened this issue May 19, 2023 · 0 comments

Comments

@GerbenAbbink
Copy link

I am using TRANG to generate an XMLSchema from a sample XML file.

The XML file contains this line:

TRANG should ignore the "xsi" namespace, instead it generates this line in the XMLSchema:

<xs:import namespace="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="xsi.xsd"/>

TRANG also generates xsi.xsd.

Because TRANG is file-based, I cannot easily filter the xmlns:xsi attribute before giving the XML file to TRANG.

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

No branches or pull requests

1 participant