Commit Graph
7 Commits
Author SHA1 Message Date
Atsushi Eno ce6759fea0 2004-03-22 Atsushi Enomoto <[email protected]>
* Compiler.cs : Now it holds XPath parser and XSLT pattern parser.
	* XslKey.cs : Use XSLT pattern parser for match.
	  UsePattern is now "Use" (it is not a pattern). 
	  Reimplemented Evaluate() to make full use of index table.
	  Added Matches() to handle shorter match evaluation. For const value
	  for key (e.g. key patterns), it could avoid Evaluate().
	* XsltCompiledContext.cs : Added MatchesKey() that just delegates to
	  new KeyIndexTable.Matches().
	* XslFunctions.cs : Added PatternMatches() that just delegates to new
	  XsltCompiledContext.MatchesKey().

	* Pattern.cs : Pattern.Compile() now uses XSLT pattern parser instead
	  of XPath parser.
	* KeyPattern.cs : Matches() now just delegates to XsltKey.MatchesKey().


svn path=/trunk/mcs/; revision=42066
2005-03-22 07:39:29 +00:00
Atsushi Eno 2022c818f4 2004-11-26 Atsushi Enomoto <[email protected]>
* XPathNavigatorReader.cs,
	  KeyPattern.cs : warning removal



svn path=/trunk/mcs/; revision=36591
2004-11-26 02:52:22 +00:00
Duncan Mak 8fa6e766dd Add MIT license to System.XML.DLL
svn path=/trunk/mcs/; revision=30055
2004-06-21 18:07:31 +00:00
Atsushi Eno ce7fa813d2 2004-02-17 Atsushi Enomoto <[email protected]>
* KeyPattern.cs, Pattern.cs : removed using decls.

svn path=/trunk/mcs/; revision=23202
2004-02-18 03:10:56 +00:00
Atsushi Eno 92174ef106 2003-11-19 Atsushi Enomoto <[email protected]>
* KeyPattern.cs : Matches() should iterate candidate keys to the end.

svn path=/trunk/mcs/; revision=20241
2003-11-19 19:10:51 +00:00
Atsushi Eno 5f185b2cce 2003-11-19 Atsushi Enomoto <[email protected]>
* IdPattern.cs,
	  KeyPattern.cs : Implemented Matches(), overrode DefaultPriority,
	  modified inheritance.
	* Pattern.cs : Added id and key pattern support.

svn path=/trunk/mcs/; revision=20223
2003-11-19 15:09:48 +00:00
Ben Maurer a7578be9cf initial pattern work
svn path=/trunk/mcs/; revision=17786
2003-09-01 03:59:12 +00:00