Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1339267e
Commit
1339267e
authored
Jul 05, 2010
by
Andrey Turkin
Committed by
Alexandre Julliard
Jul 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Add test to highlight another difference between XSLPattern and XPath.
parent
917089a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
domdoc.c
dlls/msxml3/tests/domdoc.c
+8
-0
No files found.
dlls/msxml3/tests/domdoc.c
View file @
1339267e
...
...
@@ -5589,6 +5589,14 @@ static void test_XSLPattern(void)
/* switch to XPath */
ole_check
(
IXMLDOMDocument2_setProperty
(
doc
,
_bstr_
(
"SelectionLanguage"
),
_variantbstr_
(
"XSLPattern"
)));
/* XPath doesn't select elements with non-null default namespace with unqualified selectors, XSLPattern does */
ole_check
(
IXMLDOMDocument2_selectNodes
(
doc
,
_bstr_
(
"//elem/c"
),
&
list
));
len
=
0
;
ole_check
(
IXMLDOMNodeList_get_length
(
list
,
&
len
));
/* should select <elem><c> and <elem xmlns='...'><c> but not <elem><foo:c> */
todo_wine
ok
(
len
==
3
,
"expected 3 entries in list, got %d
\n
"
,
len
);
IXMLDOMNodeList_Release
(
list
);
/* for XSLPattern start index is 0, for XPath it's 1 */
ole_check
(
IXMLDOMDocument2_selectNodes
(
doc
,
_bstr_
(
"root//elem[0]"
),
&
list
));
len
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment