Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prefixes registered in prefixHandler are not being used in queries #62

Open
GoogleCodeExporter opened this issue Jun 1, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. create a new tmql-2007 runtime
2. register a prefix by doing: 
runtime.getLanguageContext().getPrefixHandler().registerPrefix("pfx","http://exa
mple.com/")
3. run a query on that runtime object which uses the prefix pfx but doesn't 
declare it in the query text itself.

What is the expected output? What do you see instead?
The query engine should replace the prefix pfx with http://example.com/ before 
matching against a locator, but it does not. I tried a query with the same 
prefix defined both in the PrefixHandler and in the text of the query and it 
worked, but when I took away the %prefix definition from the text of the query, 
no results were returned.

What version of the product are you using? On what operating system?
I'm using TMQL4J 3.1.0 with a majortom backend on windows 7 x64.


Original issue reported on code.google.com by [email protected] on 22 Jul 2011 at 10:29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant