W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2010

[Bug 9955] XQuery/Modules/ModuleImportModules/ModuleImport/modules-19.xq through modules-28.xq

From: <bugzilla@jessica.w3.org>
Date: Tue, 22 Jun 2010 06:55:05 +0000
To: public-qt-comments@w3.org
Message-Id: <E1OQxNx-0007Sd-BW@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9955





--- Comment #3 from Sorin Nasoi <spungi@gmail.com>  2010-06-22 06:55:04 ---
Hi,
all the tests I mentioned (modules-19.xq through modules-27.xq) import module
defs with namespace "http://www.w3.org/TestModules/defs.

If you check out the module moduleDefs-lib written by Carmelo Montanez you will
see that it import a library module test1 with namespace
"http://www.w3.org/TestModules/test1".

I agree that the fix is wrong, I will fix them today, but initially the tests
were wrong: the main module module-3.lib defines the namespace
"http://www.w3.org/TestModules/defs" which is the same as the namespace for
module moduleDefs-lib. This creates a break when you try to process XQTS, the
namespaces of the modules should be unique.

The correct fix would be to:
- change the namespace of module3-lib to something like
"http://www.w3.org/TestModules/module3" and then in the tests import
module3-lib with this namespace.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 22 June 2010 06:55:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:31 UTC