disabling schema download

Bug #867363 reported by Daniel Turcanu
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
High
Chris Hillery

Bug Description

Now Zorba downloads the referred schema if they have http uri. I think there should be a way to disable the automatic download, and just search for the file in a list of include dirs.
This is for better control of the code and better debugging.

Related branches

Revision history for this message
Cezar Andrei (cezar-andrei) wrote :

Chris, I know you might have a different oppinion on this. What's your take on it.

Changed in zorba:
assignee: Cezar Andrei (cezar-andrei) → Chris Hillery (ceejatec)
Revision history for this message
Chris Hillery (ceejatec) wrote :

I do think it's a good idea. We may need to do something like this to make FOTS execute in a reasonable length of time, as well.

It's currently possible (or at least is supposed to be) via the C++ API by registering a URI mapper that maps http://www.zorba-xquery.com/modules/http-client to URIMapper::DENY_ACCESS, so it shouldn't be too hard to implement.

Revision history for this message
Chris Hillery (ceejatec) wrote :

This just became more important due to FOTS.

Changed in zorba:
milestone: none → 2.8
importance: Medium → High
Chris Hillery (ceejatec)
Changed in zorba:
status: New → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.