link.xq test module breaks ZORBA_NO_XMLSCHEMA

Bug #867219 reported by Chris Hillery
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Medium
Chris Hillery

Bug Description

The module contains a function that uses Xerces, which is not available when compiling with ZORBA_NO_XMLSCHEMA. The minimum change would be to put the DECLARE_ZORBA_MODULE() inside IF(NOT ZORBA_NO_XMLSCHEMA).

Alternately, we could change the module to use some other library. It uses Xerces because it's testing the situation where a module library links against a library that libzorba also links against. Xerces was a bad choice since it's an optional dependency. Changing the test to use, say, libxml would be a better fix.

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

The minimum change of not declaring this module if ZORBA_NO_XMLSCHEMA is defined has been done on the trunk and in 2.0.1. I'm not marking this as "fixed" yet since I think the second solution would be better going forward.

Chris Hillery (ceejatec)
tags: removed: v2.1
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.