Commit Graph
14 Commits
Author SHA1 Message Date
Atsushi Eno 317a5a4282 2005-08-05 Atsushi Enomoto <[email protected]>
* Pattern.cs, IdPattern.cs, LocationPathPattern.cs, UnionPattern.cs :
	  added bool EvaluatedNodeType property (used in XslKeyTable).

	* XslKey.cs : Fixed match pattern in xsl:key to check attribute nodes.
	  To minimize attribute iteration, use Pattern.EvaluatedNodeType.
	  Fixed bug #75709.


svn path=/trunk/mcs/; revision=48031
2005-08-05 06:05:27 +00:00
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 9b7c298824 2004-03-16 Atsushi Enomoto <[email protected]>
* Pattern.cs : fixed incorrect optimization.


svn path=/trunk/mcs/; revision=41874
2005-03-16 09:09:39 +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 23e602b3cc 2004-05-20 Atsushi Enomoto <[email protected]>
* Pattern.cs : don't throw System.Exception. Delegate error handling to
	  the only one caller CompilePattern().

svn path=/trunk/mcs/; revision=27723
2004-05-20 08:40:21 +00:00
Atsushi Eno c42df60f9e 2004-05-12 Atsushi Enomoto <[email protected]>
* Pattern.cs : made class internal.

svn path=/trunk/mcs/; revision=27146
2004-05-12 09:02:44 +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 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 4505af6030 making optimizatons in preperation for Jackson's jay patch
svn path=/trunk/mcs/; revision=18248
2003-09-21 19:22:37 +00:00
Ben Maurer 041942fa1c 2003-09-20 Ben Maurer <[email protected]>
* Pattern.cs: Typo, when i got //a i was giving off /
	* LocationPathPattern.cs: Append to the tail, not head.

svn path=/trunk/mcs/; revision=18215
2003-09-20 16:36:42 +00:00
Ben Maurer b1a1112338 get static context to Pattern
svn path=/trunk/mcs/; revision=18061
2003-09-13 16:53:51 +00:00
Ben Maurer 734af89098 that was just a pathetic bug...
svn path=/trunk/mcs/; revision=17933
2003-09-05 21:19:34 +00:00
Ben Maurer 84b11de105 WOOOOHOOOO PATTERNS WORK
svn path=/trunk/mcs/; revision=17801
2003-09-01 15:38:45 +00:00
Ben Maurer a7578be9cf initial pattern work
svn path=/trunk/mcs/; revision=17786
2003-09-01 03:59:12 +00:00