Commit Graph
12 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 e6503839bb 2005-03-22 Atsushi Enomoto <[email protected]>
* IdPattern.cs, LocationPathPattern.cs :
	  Use XsltCompiledContext.GetNavCache() that returns reusable
	  navigator cache for each pattern, to avoid Clone() and not to leave
	  reference to already-done instance navigator.

	* XslTransformProcessor.cs : now it looks safe to remove SetContext()
	  from each EvaluateXXX() methods.
	* MsxslScriptManager.cs : not to leave reference to stylesheet
	  navigator, pass current node to Compile().
	* XslCompiledContext.cs : Added GetNavCache() that returns reusable
	  navigator cache for each pattern, to avoid Clone() and not to leave
	  reference to already-done instance navigator.


svn path=/trunk/mcs/; revision=42101
2005-03-22 12:32:31 +00:00
Atsushi Eno ec0eea4890 2005-02-09 Atsushi Enomoto <[email protected]>
* LocationPathPattern.cs : Wildcard name is held as "", so we should
	  also check "" for wildcard. Patch by Andrew Skiba.



svn path=/trunk/mcs/; revision=40333
2005-02-09 09:57:18 +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 daa730db36 2004-02-18 Atsushi Enomoto <[email protected]>
* LocationPathPattern.cs : Implemented easy XPathNavigator cache on
	  predicate evaluation in Matches().

svn path=/trunk/mcs/; revision=23205
2004-02-18 12:59:49 +00:00
Atsushi Eno 0de93cd5fc 2004-02-17 Atsushi Enomoto <[email protected]>
* LocationPathPattern.cs : Optimized Matches(). For non-positional
	  patterns, it never iterates predicate, just evaluate boolean.

svn path=/trunk/mcs/; revision=23182
2004-02-17 20:09:42 +00:00
Atsushi Eno 356cc41e10 2004-02-16 Atsushi Enomoto <[email protected]>
* DTMXPathDocument.cs,
	  DTMXPathDocumentBuilder.cs,
	  DTMXPathDocumentWriter.cs,
	  DTMXPathNavigator.cs,
	  DTMXPathNode.cs :
	    Made classes internal by default (still publicly available with
	    OUTSIDE_SYSTEM_XML switch). Removed unused "position" field.
	    Optimized DTMXPathNavigator.Value a bit.
	* LocationPathPattern.cs : Modified some fields to private.

svn path=/trunk/mcs/; revision=23139
2004-02-16 18:37:56 +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 73609e891b typo correction
svn path=/trunk/mcs/; revision=17837
2003-09-03 01:16:03 +00:00
Ben Maurer 572f874a3c Template priority; flush XmlWriter
svn path=/trunk/mcs/; revision=17802
2003-09-01 18:48:51 +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