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

Very bad documentation for XSD validation #236

Closed
LukasKStavario opened this issue Jan 10, 2024 · 4 comments
Closed

Very bad documentation for XSD validation #236

LukasKStavario opened this issue Jan 10, 2024 · 4 comments

Comments

@LukasKStavario
Copy link

LukasKStavario commented Jan 10, 2024

Hi I have decided to develop and support XSD import and export from our IFC validation tool.
If I download any of your examples and validate it by your provided XSD in online tools, every tool shows much errors. You have provided bad schemas and your schema does not exist (in time maybe).

@berlotti
Copy link
Member

The XSD of IDS combines two namespaces; the one from IDS and the xsd restrictions.
The combination of namespaces is advanced use, but valid XSD. Not all tools support it.
There has been quite some discussion about it already. Sure you can find it when searching the repo.

Please be aware that this repo also falls under the buildingSMART behaviour guidelines and policies. Your comment is not complying with the way of communicating that we are used to.

@LukasKStavario
Copy link
Author

Your example (or official ids.xsd) has corrupted default xml namespaces and has links to not existing files on w3. Is it possible to develop and validate ids now or is it only prealpha?

sure I have seen two namespaces but there is no problem with that. I will edit my previous comment in the name of censure.

@berlotti
Copy link
Member

The XSD validators that I use all return that this XSD is valid.
Are we talking about the official ids.xsd here https://github.com/buildingSMART/IDS/blob/master/Development/ids.xsd ?
What examples are you talking about?
Please be more specific.

@LukasKStavario
Copy link
Author

I am sorry, I have finally reach the function validation in C#. I was very confused of this 3 schemes - that 2 points to same schemeLocation.
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
<xs:import namespace="http://www.w3.org/2001/XMLSchema" schemaLocation="http://www.w3.org/2001/XMLSchema.xsd"/>
<xs:import namespace="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="http://www.w3.org/2001/XMLSchema-instance"/>
Closing and sorry!

But if you want points to better documentation I can prepare some example.

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

2 participants