зеркало из https://github.com/mono/mail-archives.git
89 строки
3.6 KiB
HTML
89 строки
3.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 46063][Wis] Changed - missing starts-with() ?
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="006460.html">
|
|
<LINK REL="Next" HREF="006462.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 46063][Wis] Changed - missing starts-with() ?
|
|
</H1>
|
|
<B>bugzilla-daemon@rocky.ximian.com
|
|
</B>
|
|
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
|
|
TITLE="[Mono-bugs] [Bug 46063][Wis] Changed - missing starts-with() ?">bugzilla-daemon@rocky.ximian.com
|
|
</A><BR>
|
|
<I>Fri, 18 Jul 2003 17:37:41 -0400 (EDT)</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="006460.html">[Mono-bugs] [Bug 46063][Wis] Changed - missing starts-with() ?
|
|
</A></li>
|
|
<LI> Next message: <A HREF="006462.html">[Mono-bugs] [Bug 46602][Maj] New - incorrect instance size (mono_class_layout_fields)
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#6461">[ date ]</a>
|
|
<a href="thread.html#6461">[ thread ]</a>
|
|
<a href="subject.html#6461">[ subject ]</a>
|
|
<a href="author.html#6461">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Please do not reply to this email- if you want to comment on the bug, go to the
|
|
URL shown below and enter your comments there.
|
|
|
|
Changed by <A HREF="mailto:piersh@friskit.com.">piersh@friskit.com.</A>
|
|
|
|
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=46063">http://bugzilla.ximian.com/show_bug.cgi?id=46063</A>
|
|
|
|
--- shadow/46063 Fri Jul 18 17:10:14 2003
|
|
+++ shadow/46063.tmp.22776 Fri Jul 18 17:37:41 2003
|
|
@@ -46,6 +46,25 @@
|
|
value_type="gchararray">http:__slashdot.org_favicon.ico</property><pro
|
|
perty id="4" value_type="gint">1057785090</property><parent
|
|
id="9" /></node>
|
|
|
|
I'm assuming you were using an old version and this bug has been
|
|
previously fixed.
|
|
+
|
|
+------- Additional Comments From <A HREF="mailto:piersh@friskit.com">piersh@friskit.com</A> 2003-07-18 17:37 -------
|
|
+Also, I'm not sure the expression you're using does quite what you're
|
|
+expecting it to.
|
|
+
|
|
+The expression 'child::property/child::text()' evaluates to a nodeset
|
|
+containing all the text nodes that are children of the property nodes
|
|
+of the context node. When you pass this nodeset into a function (like
|
|
+starts-with) that takes a string, the value of the argument to that
|
|
+function is the string value of the first node in that nodeset.
|
|
+
|
|
+So, in your example, the predicate will only succeed if the text node
|
|
+you're searching for is in the first property node in document order.
|
|
+
|
|
+If you want to search all property nodes for that text then you'll
|
|
+have to use something like:
|
|
+
|
|
+ node[property[starts-with(.,'<A HREF="http://slashdot.org'">http://slashdot.org'</A>)]]
|
|
+
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="006460.html">[Mono-bugs] [Bug 46063][Wis] Changed - missing starts-with() ?
|
|
</A></li>
|
|
<LI> Next message: <A HREF="006462.html">[Mono-bugs] [Bug 46602][Maj] New - incorrect instance size (mono_class_layout_fields)
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#6461">[ date ]</a>
|
|
<a href="thread.html#6461">[ thread ]</a>
|
|
<a href="subject.html#6461">[ subject ]</a>
|
|
<a href="author.html#6461">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|