Coder Social home page Coder Social logo

IDS schema location about ids HOT 7 CLOSED

mschro3der avatar mschro3der commented on July 24, 2024
IDS schema location

from ids.

Comments (7)

CBenghi avatar CBenghi commented on July 24, 2024

Hey @berlotti,

this has to do with the configuration of buildingSMART's webserver.

The suggested workaround could do, but would you be happy if we kept the official xsd files on github?
This would also allow us to work on beta versions of 1.1 more independently, retaining schema in various editors.

IDS files would change from:

xsi:schemaLocation="http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/0.9.7/ids.xsd"

to

xsi:schemaLocation="http://standards.buildingsmart.org/IDS https://raw.githubusercontent.com/buildingSMART/IDS/master/Schema/1.0/ids.xsd"

from ids.

NickNisbet avatar NickNisbet commented on July 24, 2024

from ids.

MatthiasWeise avatar MatthiasWeise commented on July 24, 2024

Same issue with the new 0.9.7: https://standards.buildingsmart.org/IDS/0.9.7/ids.xsd
Any plans to fix?

from ids.

CBenghi avatar CBenghi commented on July 24, 2024

For context and completeness:

According to documentation, the ideal content-type returned by the server for the xsd files, should be application/xml.

In my tests, the server currently returns an empty content type.
@mschro3der, is it possible that the <body> tag you see is added by your browser? I don't see it when I fetch the schema with curl or another similar tool.

from ids.

andyward avatar andyward commented on July 24, 2024

Looks like it's an Apache server from the headers. Presumably whoever published the xsd content can finds someone to update the apache.config? I'd guess it just needs this adding to the httpd.config:

AddType application/xml .xsd

See https://httpd.apache.org/docs/2.4/mod/mod_mime.html#addtype

from ids.

atomczak avatar atomczak commented on July 24, 2024

The 'Content-Type' header has just been added, with the type: 'text/xml' (not 'application/xml' to include textual implementers agreements). Please test if it works now.

from ids.

mschro3der avatar mschro3der commented on July 24, 2024

@atomczak Now also works via the web interface. Great!

Issue can therefore be closed.

from ids.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.