strrange 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. ========================
  2. Expression: xpointer(string-range(//p, 'simple'))
  3. Object is a Location Set:
  4. 1 : Object is a range :
  5. From index 3 in node
  6. TEXT
  7. content=a simple test
  8. To index 8 in node
  9. TEXT
  10. content=a simple test
  11. ========================
  12. Expression: xpointer(string-range(//p, 'test'))
  13. Object is a Location Set:
  14. 1 : Object is a range :
  15. From index 10 in node
  16. TEXT
  17. content=a simple test
  18. To index 13 in node
  19. TEXT
  20. content=a simple test
  21. 2 : Object is a range :
  22. From index 10 in node
  23. TEXT
  24. content=multiple tests
  25. To index 13 in node
  26. TEXT
  27. content=multiple tests
  28. 3 : Object is a range :
  29. From index 7 in node
  30. TEXT
  31. content=anced test
  32. To index 10 in node
  33. TEXT
  34. content=anced test
  35. ========================
  36. Expression: xpointer(string-range(//p, 'difficult'))
  37. Object is a Location Set:
  38. 1 : Object is a range :
  39. From index 3 in node
  40. TEXT
  41. content=a diff
  42. To index 4 in node
  43. TEXT
  44. content=cult one
  45. ========================
  46. Expression: xpointer(string-range(//p, 'spanning'))
  47. Object is a Location Set:
  48. 1 : Object is a range :
  49. From index 3 in node
  50. TEXT
  51. content=a span
  52. To index 3 in node
  53. TEXT
  54. content=ing one
  55. ========================
  56. Expression: xpointer(string-range(//p, 'unbalanced'))
  57. Object is a Location Set:
  58. 1 : Object is a range :
  59. From index 8 in node
  60. TEXT
  61. content=and an unbal
  62. To index 5 in node
  63. TEXT
  64. content=anced test
  65. ========================
  66. Expression: xpointer(string-range(//seq, ''))
  67. Object is a Location Set:
  68. 1 : Object is a collapsed range :
  69. index 1 in node
  70. TEXT
  71. content=123
  72. 2 : Object is a collapsed range :
  73. index 2 in node
  74. TEXT
  75. content=123
  76. 3 : Object is a collapsed range :
  77. index 3 in node
  78. TEXT
  79. content=123
  80. 4 : Object is a collapsed range :
  81. index 4 in node
  82. TEXT
  83. content=123