Bugs item #2685898, was opened at 2009-03-13 09:01
Message generated for change (Comment added) made by shcheklein
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2685898&group_id=129076
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Value Indecies
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: XPath expressions allowed in indexes are too restrictive
Initial Comment:
The structure of my XML is as follows:
<root>
<page>
<title>Page 1</title>
<id>10</id>
</page>
...
<page>
<title>Page 2</title>
<id>20</id>
</page>
</root>
I'd like the create an index for retrieving 'id' knowing 'title'. Smth like
this:
CREATE INDEX 'id-by-title' ON collection("wiki")/root/page/id BY ../title AS
xs:string
However, Sedna doesn't allow 'parent' axis in the index expressions. I'm having
troubles understanding why?
----------------------------------------------------------------------
>Comment By: Ivan Shcheklein (shcheklein)
Date: 2009-03-13 11:48
Message:
It's not a bug. Please submit feature requests directly to the
Sedna-discussion mail list.
BTW, it seems to me you don't need parent axes support to retrieve "id".
Just create index "page" by "title". Then use index-scan()/id.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2685898&group_id=129076
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion