- From: Doug Davis via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 31 Jan 2011 19:36:04 +0000
- To: public-ws-resource-access-notifications@w3.org
Update of /w3ccvs/WWW/2002/ws/ra/edcopies In directory hutz:/tmp/cvs-serv30223 Modified Files: scenario.html scenario.xml Log Message: fix some xpath Index: scenario.xml =================================================================== RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/scenario.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- scenario.xml 31 Jan 2011 19:33:55 -0000 1.21 +++ scenario.xml 31 Jan 2011 19:36:02 -0000 1.22 @@ -2261,7 +2261,7 @@ <item> <p> Mode: Add - Expression: /*/sce:Entry[0] <phrase/> + Expression: //sce:Entry[0] <phrase/> Value: Date="..." <phrase/> Result: first History/Entry has a Date attribute added </p> @@ -2269,7 +2269,7 @@ <item> <p> Mode: Add - Expression: /*/sce:Entry[1] <phrase/> + Expression: //sce:Entry[1] <phrase/> Value: Date="..." <phrase/> Result: a fault is generated </p> @@ -2277,7 +2277,7 @@ <item> <p> Mode: Replace - Expression: /*/sce:Entry[1]/@Date <phrase/> + Expression: //sce:Entry[1]/@Date <phrase/> Value: Date="..." <phrase/> Result: Date attribute is updated </p> @@ -2285,7 +2285,7 @@ <item> <p> Mode: Replace - Expression: /*/sce:Entry[1]/@Date <phrase/> + Expression: //sce:Entry[1]/@Date <phrase/> Value: Who="..." <phrase/> Result: Date attribute is erased and Who attribute is added </p> @@ -2293,7 +2293,7 @@ <item> <p> Mode: Replace - Expression: /*/sce:Entry[0]/@Date <phrase/> + Expression: //sce:Entry[0]/@Date <phrase/> Value: Who="..." <phrase/> Result: Who attribute is added to the Entry </p> @@ -2301,7 +2301,7 @@ <item> <p> Mode: Remove - Expression: /*/sce:Entry[1]/@Date <phrase/> + Expression: //sce:Entry[1]/@Date <phrase/> Value: - Result: Date attribute is removed </p> @@ -2309,7 +2309,7 @@ <item> <p> Mode: Add - Expression: /*/sce:History <phrase/> + Expression: //sce:History <phrase/> Value: <sce:Entry> ... </sce:Entry> <phrase/> Result: Entry is added to History array <phrase/> History array needs to be empty before test starts @@ -2318,7 +2318,7 @@ <item> <p> Mode: Add - Expression: /*/sce:History <phrase/> + Expression: //sce:History <phrase/> Value: <sce:Entry> ... </sce:Entry> <phrase/> Result: Entry is added to the end of the History array <phrase/> History array needs to have atleast one Entry @@ -2327,7 +2327,7 @@ <item> <p> Mode: Replace - Expression: /*/sce:History/Entry[0] <phrase/> + Expression: //sce:History/Entry[0] <phrase/> Value: <sce:Entry> ... </sce:Entry> <phrase/> Result: First Entry is replaced </p> @@ -2335,7 +2335,7 @@ <item> <p> Mode: Replace - Expression: /*/sce:Entry[0] <phrase/> + Expression: //sce:Entry[0] <phrase/> Value: <sce:Entry> ... </sce:Entry> <phrase/> Result: Entry is added to the History array <phrase/> History array needs to be empty before test starts @@ -2344,7 +2344,7 @@ <item> <p> Mode: InsertAfter - Expression: /*/sce:Entry | /*/sce:Entry[last()]<phrase/> + Expression: //sce:Entry | //sce:Entry[last()]<phrase/> Value: <sce:Entry> ... </sce:Entry> <phrase/> Result: Entry is added to the end of the History array <phrase/> History array needs to have atleast one Entry @@ -2353,7 +2353,7 @@ <item> <p> Mode: InsertBefore - Expression: /*/sce:Entry | /*/sce:Entry[1]<phrase/> + Expression: //sce:Entry | //sce:Entry[1]<phrase/> Value: <sce:Entry> ... </sce:Entry> <phrase/> Result: Entry is added to the start of the History array <phrase/> History array needs to have atleast one Entry @@ -2362,7 +2362,7 @@ <item> <p> Mode: Replace - Expression: /*/sce:Entry <phrase/> + Expression: //sce:Entry <phrase/> Value: <sce:Entry> ... </sce:Entry> <phrase/> Result: All old Entries are replace by this one Entry <phrase/> History array needs to have more than one Entry @@ -2371,7 +2371,7 @@ <item> <p> Mode: Replace - Expression: /*/sce:Entry[1] <phrase/> + Expression: //sce:Entry[1] <phrase/> Value: <sce:Entry> ... </sce:Entry> <phrase/> Result: First Entry is replaced <phrase/> History array needs to have more than one Entry @@ -2380,7 +2380,7 @@ <item> <p> Mode: Remove - Expression: /*/sce:Entry <phrase/> + Expression: //sce:Entry <phrase/> Value: - Result: All Entry elements are removed <phrase/> History array needs to have one Entry @@ -2389,7 +2389,7 @@ <item> <p> Mode: Remove - Expression: /*/sce:Entry <phrase/> + Expression: //sce:Entry <phrase/> Value: - Result: All Entry elements are removed <phrase/> History array needs to have more than one Entry @@ -2398,7 +2398,7 @@ <item> <p> Mode: Remove - Expression: /*/sce:Entry[1] <phrase/> + Expression: //sce:Entry[1] <phrase/> Value: - Result: Just first Entry is removed <phrase/> History array needs to have more than one Entry Index: scenario.html =================================================================== RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/scenario.html,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- scenario.html 31 Jan 2011 19:33:55 -0000 1.21 +++ scenario.html 31 Jan 2011 19:36:02 -0000 1.22 @@ -1021,96 +1021,96 @@ Result: entire Animal is replaced </p></li><li><p> Mode: Add - Expression: /*/sce:Entry[0] <br/> + Expression: //sce:Entry[0] <br/> Value: Date="..." <br/> Result: first History/Entry has a Date attribute added </p></li><li><p> Mode: Add - Expression: /*/sce:Entry[1] <br/> + Expression: //sce:Entry[1] <br/> Value: Date="..." <br/> Result: a fault is generated </p></li><li><p> Mode: Replace - Expression: /*/sce:Entry[1]/@Date <br/> + Expression: //sce:Entry[1]/@Date <br/> Value: Date="..." <br/> Result: Date attribute is updated </p></li><li><p> Mode: Replace - Expression: /*/sce:Entry[1]/@Date <br/> + Expression: //sce:Entry[1]/@Date <br/> Value: Who="..." <br/> Result: Date attribute is erased and Who attribute is added </p></li><li><p> Mode: Replace - Expression: /*/sce:Entry[0]/@Date <br/> + Expression: //sce:Entry[0]/@Date <br/> Value: Who="..." <br/> Result: Who attribute is added to the Entry </p></li><li><p> Mode: Remove - Expression: /*/sce:Entry[1]/@Date <br/> + Expression: //sce:Entry[1]/@Date <br/> Value: - Result: Date attribute is removed </p></li><li><p> Mode: Add - Expression: /*/sce:History <br/> + Expression: //sce:History <br/> Value: <sce:Entry> ... </sce:Entry> <br/> Result: Entry is added to History array <br/> History array needs to be empty before test starts </p></li><li><p> Mode: Add - Expression: /*/sce:History <br/> + Expression: //sce:History <br/> Value: <sce:Entry> ... </sce:Entry> <br/> Result: Entry is added to the end of the History array <br/> History array needs to have atleast one Entry </p></li><li><p> Mode: Replace - Expression: /*/sce:History/Entry[0] <br/> + Expression: //sce:History/Entry[0] <br/> Value: <sce:Entry> ... </sce:Entry> <br/> Result: First Entry is replaced </p></li><li><p> Mode: Replace - Expression: /*/sce:Entry[0] <br/> + Expression: //sce:Entry[0] <br/> Value: <sce:Entry> ... </sce:Entry> <br/> Result: Entry is added to the History array <br/> History array needs to be empty before test starts </p></li><li><p> Mode: InsertAfter - Expression: /*/sce:Entry | /*/sce:Entry[last()]<br/> + Expression: //sce:Entry | //sce:Entry[last()]<br/> Value: <sce:Entry> ... </sce:Entry> <br/> Result: Entry is added to the end of the History array <br/> History array needs to have atleast one Entry </p></li><li><p> Mode: InsertBefore - Expression: /*/sce:Entry | /*/sce:Entry[1]<br/> + Expression: //sce:Entry | //sce:Entry[1]<br/> Value: <sce:Entry> ... </sce:Entry> <br/> Result: Entry is added to the start of the History array <br/> History array needs to have atleast one Entry </p></li><li><p> Mode: Replace - Expression: /*/sce:Entry <br/> + Expression: //sce:Entry <br/> Value: <sce:Entry> ... </sce:Entry> <br/> Result: All old Entries are replace by this one Entry <br/> History array needs to have more than one Entry </p></li><li><p> Mode: Replace - Expression: /*/sce:Entry[1] <br/> + Expression: //sce:Entry[1] <br/> Value: <sce:Entry> ... </sce:Entry> <br/> Result: First Entry is replaced <br/> History array needs to have more than one Entry </p></li><li><p> Mode: Remove - Expression: /*/sce:Entry <br/> + Expression: //sce:Entry <br/> Value: - Result: All Entry elements are removed <br/> History array needs to have one Entry </p></li><li><p> Mode: Remove - Expression: /*/sce:Entry <br/> + Expression: //sce:Entry <br/> Value: - Result: All Entry elements are removed <br/> History array needs to have more than one Entry </p></li><li><p> Mode: Remove - Expression: /*/sce:Entry[1] <br/> + Expression: //sce:Entry[1] <br/> Value: - Result: Just first Entry is removed <br/> History array needs to have more than one Entry
Received on Monday, 31 January 2011 19:36:06 UTC