Adam Martinson : msxml3: XSLPattern support.

Alexandre Julliard julliard at winehq.org
Mon Oct 4 11:04:04 CDT 2010


Module: wine
Branch: master
Commit: 4f78c04ec86bd8efcda4af4206da4c7f4fa7516c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4f78c04ec86bd8efcda4af4206da4c7f4fa7516c

Author: Adam Martinson <amartinson at codeweavers.com>
Date:   Thu Sep 30 15:06:01 2010 -0500

msxml3: XSLPattern support.

Parse XSLPattern queries and translate them into equivalent XPath queries.
XSLPattern built-in functions/operators are translated to their XPath
counterparts where applicable.  If no direct XPath counterpart exists,
they are registered as custom XPath functions for the sake of speed where
possible.  As a last resort, they are translated into compound XPath
expressions to accomplish the task, if more slowly.
If the parser encounters an error, the original XSLPattern query is
returned, as this is more likely to work than a mangled one.

---

 .gitignore                 |    3 +
 dlls/msxml3/Makefile.in    |    4 +
 dlls/msxml3/domdoc.c       |    2 +-
 dlls/msxml3/queryresult.c  |  150 ++++++++++-
 dlls/msxml3/tests/domdoc.c |  214 +++++++++++++++-
 dlls/msxml3/xslpattern.h   |   56 ++++
 dlls/msxml3/xslpattern.l   |  182 +++++++++++++
 dlls/msxml3/xslpattern.y   |  643 ++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 1248 insertions(+), 6 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=4f78c04ec86bd8efcda4af4206da4c7f4fa7516c



More information about the wine-cvs mailing list