Jason Diamond
5c59c1a2b1
Fixed matching on patterns that look like absolute XPath expressions.
...
svn path=/trunk/mcs/; revision=6715
2002-08-18 03:29:24 +00:00
Jason Diamond
4d87d2bf42
2002-08-17 Jason Diamond <[email protected] >
...
* XPathNavigator.cs: Added naive (but working) implementation of
Matches.
svn path=/trunk/mcs/; revision=6714
2002-08-17 21:34:21 +00:00
Piers Haken
10173bda94
2002-07-31 Piers Haken <[email protected] >
...
* XPathDocument.cs: simple, XmlDocument-based implementation
svn path=/trunk/mcs/; revision=6307
2002-08-01 00:40:15 +00:00
Piers Haken
28f14aa361
2002-07-25 Piers Haken <[email protected] >
...
* DefaultContext.cs: implement XPathFunctionName 'name()' function.
svn path=/trunk/mcs/; revision=6180
2002-07-25 21:32:51 +00:00
Miguel de Icaza
eb8b92b927
Fix build
...
svn path=/trunk/mcs/; revision=5883
2002-07-17 21:13:41 +00:00
Piers Haken
2a157572bf
2002-07-17 Piers Haken <[email protected] >
...
* DefaultContext.cs: implement 'string-length()', 'normalize-space()'
* Parser.jay: remove redundant production
* Expression.cs: add switches for debugging under VS.NET
svn path=/trunk/mcs/; revision=5849
2002-07-17 13:02:13 +00:00
Piers Haken
060f49d85e
2002-07-17 Piers Haken <[email protected] >
...
* Expression.cs: implement nodeset/nodeset comparisons (non-optimal)
svn path=/trunk/mcs/; revision=5846
2002-07-17 11:07:20 +00:00
Piers Haken
426fb68bbd
2002-07-15 Piers Haken <[email protected] >
...
* Iterator.cs:
- rename UnionIterator to MergedIterator,
- create new UnionIterator to implment uniqueness for '|' operator
- fix position bug in ArrayListIterator.Clone()
* Expression.cs: use new UnionIterator constructor syntax
svn path=/trunk/mcs/; revision=5817
2002-07-16 00:42:32 +00:00
Piers Haken
ce5805bcb5
2002-07-12 Piers Haken <[email protected] >
...
* Iterator.cs: PredicateIterator: handle numeric predicates
* Parser.jay: add some debugging support: yyparseDebug
* Tokenizer.cs: cleanup, include '-' chars in identifier tokens
svn path=/trunk/mcs/; revision=5723
2002-07-12 10:52:30 +00:00
Piers Haken
b795373f90
2002-06-29 Piers Haken <[email protected] >
...
* Expression.cs:
- remove dead code
- NodeTest uses XPathResultType instead of internal NodeTestTypes enum
- remove NodeTestTypes enum
- remove NodeTestTypeAny (functionality provided by base now)
- fix ExprStep to handle wildcard QNames
* Parser.jay:
- moved to Mono.Xml.XPath namespace
- use XPathResultType
- handle wildcard QNames
* Tokenizer.cs: moved to Mono.Xml.XPath namespace
* XPathNavigator.cs: implement
- IsDescendant
- SelectAncestors
- SelectDescendants
- SelectChildren
* XPathResultType.cs: fix enum values
svn path=/trunk/mcs/; revision=5502
2002-06-29 20:21:13 +00:00
Jason Diamond
c4eb1e7e02
Removed my incomplete XPathScanner code.
...
svn path=/trunk/mcs/; revision=5439
2002-06-24 22:52:29 +00:00
Dick Porter
4aed3ef820
2002-06-24 Dick Porter <[email protected] >
...
* XmlCaseOrder.cs: Fix namespace
svn path=/trunk/mcs/; revision=5428
2002-06-24 10:55:37 +00:00
Piers Haken
2dfdf317d6
2002-06-23 Piers Haken <[email protected] >
...
* DefaultContext.cs: implemented XPathFUnctionId
* Iterator.cs: new ArrayListIterator for id() support
svn path=/trunk/mcs/; revision=5426
2002-06-24 01:26:23 +00:00
Piers Haken
8d73a2306c
2002-06-23 Piers Haken <[email protected] >
...
System.Xml:
* XmlDocumentNavigator.cs: implement Clone()
* XmlElement.cs: remove bogus unimplemented override of InnerText
* XmlNode.cs: implment SelectNodes/SelectSingleNode
* XmlNodeArrayList.cs: new support class for SelectNodes
System.Xml.Xsl:
* XsltContext.cs: added 'PreserveWhitespace' abstract method
System.Xml.XPath:
* XPathNavigator.cs: implement:
- Compile
- Evaluate
- Clone
- Select
- ToString
- some forwarding methods
* XPathNodeIterator: implement caching Count
* Tokenizer.cs: new XPath tokenizer
* Parser.jay: new XPath grammar
* Parser.cs: new precompiled XPath grammar
* Expression.cs: new XPath expression objects
* Iterator.cs: new XPath result/context objects
* DefaultContext.cs: new XPath function binding context
svn path=/trunk/mcs/; revision=5421
2002-06-23 16:52:58 +00:00
Jason Diamond
4d82c52aeb
In System.Xml:
...
* XmlDocumentNavigator.cs: Added file to directory.
* XmlNode.cs (CreateNavigator): Implemented.
(InnerText): Implemented.
* XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
throwing exception.
(Load(XmlReader)): Allow for namespace qualified attributes.
* XmlElement.cs: Implemented GetAttribute(string, string) and both
GetAttributeNode overloads.
(SetAttributeNode(XmlAttribute)): Implemented.
* XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
and RemoveNamedItem(string, string).
* XmlLinkedNode.cs (PreviousSibling): Implemented.
* XmlTextReader.cs: Added code to maintain the order of attributes as
they're parsed. XML doesn't require this but Microsoft's parser does it and
matching them makes testing easier so now we have it, too.
In Test:
* XPathNavigatorTests.cs: Added file to directory.
* AllTests.cs: Added XPathNavigatorTests to suite.
* XmlTextReaderTests.cs: Added test to make sure attributes are ordered
like Microsoft's parser does it.
svn path=/trunk/mcs/; revision=4971
2002-05-27 19:17:13 +00:00
Tim Coleman
723cea72b7
2002-05-08 Tim Coleman <[email protected] >
...
* XPathDocument.cs:
* XPathException.cs: New stub files added.
svn path=/trunk/mcs/; revision=4402
2002-05-08 00:50:45 +00:00
Duncan Mak
0fda2aa47a
2002-04-12 Duncan Mak <[email protected] >
...
XmlCaseOrder.cs: Moved to here from System.Xml.
svn path=/trunk/mcs/; revision=3785
2002-04-12 16:38:27 +00:00
Piers Haken
cc63806f23
minor CLS conformance tweaks (visibility, virtual, abstract, sealed, etc...)
...
svn path=/trunk/mcs/; revision=3568
2002-04-03 06:28:53 +00:00
Jason Diamond
e953522577
Can now scan most location paths (without predicates).
...
svn path=/trunk/mcs/; revision=3351
2002-03-26 11:44:46 +00:00
Jason Diamond
d55811ef09
Added XPathScanner and Tests.
...
svn path=/trunk/mcs/; revision=3342
2002-03-26 02:36:02 +00:00
Duncan Mak
a29d1d89de
2002-03-08 Duncan Mak <[email protected] >
...
* XPathNamespaceScope.cs:
* XPathNodeType.cs:
* XPathResultType.cs:
* XmlDataType.cs:
* XmlSortOrder.cs: Used EnumCheck and realigned elements to be compatible with MS
implementation. XPathResultType is interesting as EnumCheck does
not show the Navigator element, but shows the String element twice.
svn path=/trunk/mcs/; revision=3003
2002-03-08 19:23:05 +00:00
Jason Diamond
a1cd780140
Removed some enumerations that might have been in Beta2 but aren't visible anymore. Moved some enumerations from the System.Xml namespace to System.Xml.XPath because that's where they belong (now?).
...
svn path=/trunk/mcs/; revision=2998
2002-03-08 14:34:13 +00:00
Jason Diamond
a6954ab4d4
Stubbed out XPathExpression and XPathNavigator and everything else needed to get it to compile.
...
svn path=/trunk/mcs/; revision=2986
2002-03-08 02:35:52 +00:00
Daniel Weber
398cb6574e
*** empty log message ***
...
svn path=/trunk/mcs/; revision=1396
2001-11-20 19:02:06 +00:00