← Back to team overview

zorba-coders team mailing list archive

[Merge] lp:~zorba-coders/zorba/general-tree-ids into lp:zorba

 

Ghislain Fourny has proposed merging lp:~zorba-coders/zorba/general-tree-ids into lp:zorba.

Requested reviews:
  Matthias Brantner (matthias-brantner)
  Markos Zaharioudakis (markos-za)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/general-tree-ids/+merge/100608

Allowing general tree IDs in structural URIs (test).
-- 
https://code.launchpad.net/~zorba-coders/zorba/general-tree-ids/+merge/100608
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'test/rbkt/Queries/zorba/nodes/position_4.xq'
--- test/rbkt/Queries/zorba/nodes/position_4.xq	2012-03-28 05:19:57 +0000
+++ test/rbkt/Queries/zorba/nodes/position_4.xq	2012-04-03 13:56:23 +0000
@@ -2,7 +2,7 @@
 
 declare function local:get-ordpath($struct)
 {
-replace($struct,'^zorba:\d*\.\d*\.\d*\.','np:')
+replace($struct,'^zorba:\d*\.[\w\-]*\.\d*\.','np:')
 };
 
 declare function local:test-generated-ordpath($testa,$testb)

=== modified file 'test/rbkt/Queries/zorba/nodes/position_4_parsed.xq'
--- test/rbkt/Queries/zorba/nodes/position_4_parsed.xq	2012-03-28 05:19:57 +0000
+++ test/rbkt/Queries/zorba/nodes/position_4_parsed.xq	2012-04-03 13:56:23 +0000
@@ -2,7 +2,7 @@
 
 declare function local:get-ordpath($struct)
 {
-replace($struct,'^zorba:\d*\.\d*\.\d*\.','np:')
+replace($struct,'^zorba:\d*\.[\w\-]*\.\d*\.','np:')
 };
 
 declare function local:test-generated-ordpath($testa,$testb)


Follow ups