FTST0018 raised at runtime

Bug #888242 reported by Matthias Brantner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
Medium
Paul J. Lucas

Bug Description

The error FTST0018 is currently raised at runtime. However, the error should be raise during compile-time because it is a static error. To quote the spec "During the dynamic evaluation phase, only dynamic errors or type errors may be raised."

Related branches

Changed in zorba:
assignee: nobody → Paul J. Lucas (paul-lucas)
importance: Undecided → Medium
Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

Chris: When are resolvers' resolveURL() functions called? During compile-time or run-time?

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

They're called whenever somebody calls them - there's no logic anywhere that I'm aware of that ensures they get called during a particular phase. For instance, when using the URI resolver to load a schema, static_context::resolve_uri() is called by translator, which is (I guess) during the compile phase.

Changed in zorba:
status: New → Triaged
Changed in zorba:
milestone: none → 2.7
status: Triaged → New
Changed in zorba:
status: New → In Progress
Changed in zorba:
status: In Progress → Fix Committed
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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