Coder Social home page Coder Social logo

revdep of sf / s2 breaks ows4R about ows4r HOT 2 CLOSED

eblondel avatar eblondel commented on June 7, 2024
revdep of sf / s2 breaks ows4R

from ows4r.

Comments (2)

eblondel avatar eblondel commented on June 7, 2024

Hi @edzer , the error you get is due to an issue of XML schema validation when trying to $encode the xml. This embedds geometa objects, here GML bindings, for which the resulting XML is by default validated against the schema. XML Schemas are loaded when loading geometa package (loaded with ows4R).

Now, part of the schemas are local (All ISO/OGC are stored locally in geometa for a proper use), but still base XML schemas from W3C are loaded from the web, and for temporary maintenance downtime, it occurs that these schemas are not reachable. If you load geometa during these downtimes, geometa references a NULL schema reference, and all attempts to encode xml after fail, like in your case.

This is likely to be a unexpected error, and it will work back when W3C xml schemas back online. Now just tried, and it works.

This said, I had already this unexpected behavior in the past, and I will look into geometa to see if I can handle local copies for all XML schemas (including w3c) to avoid random failures in unit/integration tests.

I don't think this is related to your change in sf deps.

from ows4r.

edzer avatar edzer commented on June 7, 2024

Ah, so this was a false positive (for me). Thanks!

from ows4r.

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.