Commit Graph
3031 Commits
Author SHA1 Message Date
Martin Baulig 5482c75a0a Add .gitignore's.
svn path=/trunk/mcs/; revision=128880
2009-03-09 14:14:56 +00:00
Chris Toshok 53fd125cbe In System.Runtime.Serialization/System.Xml:
2009-03-02  Chris Toshok  <[email protected]>

	* XmlBinaryDictionaryReader.cs, XmlSimpleDictionaryReader.cs: 2.1
	has HasValue.

In System.XML/System.Xml:
2009-03-02  Chris Toshok  <[email protected]>

	* XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs,
	EntityResolvingXmlReader.cs: 2.1 has HasValue.


In System.XML/Mono.Xml:
2009-03-02  Chris Toshok  <[email protected]>

	* SubtreeXmlReader.cs, XmlFilterReader.cs: 2.1 has HasValue.

In System.Xml.Linq/System.Xml.Linq:
2009-03-02  Chris Toshok  <[email protected]>

	* XNodeReader.cs: 2.1 has HasValue.

In System.ServiceModel.Web/System.Runtime.Serialization.Json:
2009-03-02  Chris Toshok  <[email protected]>

	* JsonReader.cs: 2.1 has HasValue.


svn path=/trunk/mcs/; revision=128406
2009-03-03 00:44:33 +00:00
Atsushi Eno 2bf962aa2a 2009-02-27 Atsushi Enomoto <[email protected]>
* XmlReader.cs : do not try to read at non-readable state in
          MoveToContent().


svn path=/trunk/mcs/; revision=128185
2009-02-27 09:04:00 +00:00
Alan McGovern 10831124e7 2009-02-23 Alan McGovern <[email protected]>
* XmlTextReader.cs: Under the SL2 profile, the default resolver
        is a XmlXapResolver.


svn path=/trunk/mcs/; revision=127740
2009-02-23 14:33:20 +00:00
Atsushi Eno 822b2e868a 2009-02-23 Atsushi Enomoto <[email protected]>
* XmlReader.cs : ReadContentAsXxx() should not advance XmlReader
          when it is on attribute *value* text.


svn path=/trunk/mcs/; revision=127725
2009-02-23 10:56:37 +00:00
Geoff Norton 172aac1d0a 2009-02-19 Geoff Norton <[email protected]>
* net_2_1_raw_System.Xml.dll.sources: Add a bunch of missing attributes

svn path=/trunk/mcs/; revision=127369
2009-02-19 05:46:09 +00:00
Geoff Norton 869f7efb5f 2009-02-19 Geoff Norton <[email protected]>
* SerializationSource.cs: KeyHelper is needed by
        the 2.1 profile now.

svn path=/trunk/mcs/; revision=127368
2009-02-19 05:46:05 +00:00
Geoff Norton b1c69b43b5 2009-02-19 Geoff Norton <[email protected]>
* *.cs: The tuner takes care of the visibility of this for us, and it
	is in fact needed. (Readd ReadAttributeValue to 2.1)

svn path=/trunk/mcs/; revision=127366
2009-02-19 05:15:28 +00:00
Atsushi Eno c225d87477 2009-02-10 Atsushi Enomoto <[email protected]>
* XmlTextWriter2.cs : similar fix in WriteStartElement() to
	  previous change. Fixed bug #474091.

	* XmlTextWriterTests.cs : added test for bug #474091.


svn path=/trunk/mcs/; revision=126417
2009-02-10 04:09:27 +00:00
Atsushi Eno da362d6d88 2009-02-09 Atsushi Enomoto <[email protected]>
* XmlElementTest.cs: SetAttribute(name,value) should identify value
	  change for existing node, from new node insertion.
	  Fixed bug #464394.

	* XmlElementTests.cs : added test for bug #464394.



svn path=/trunk/mcs/; revision=126323
2009-02-09 09:31:23 +00:00
Atsushi Eno fbda9fbe5d 2009-02-06 Atsushi Enomoto <[email protected]>
* XmlTextWriter2.cs : in WriteStartAttribute(), fill namespace in
	  case it is null and the prefix has matching ns. Fixed bug #472634.

	* XmlTextWriterTests.cs : added test for bug #472634.


svn path=/trunk/mcs/; revision=126047
2009-02-06 14:13:28 +00:00
Atsushi Eno 015ecae5f8 2009-01-30 Atsushi Enomoto <[email protected]>
* XmlSchemaValidator.cs : when xsi:nil is true, do not validate
	  text string. Fixed bug #469713.

	* XsdValidatingReader.cs : when xsi:nil is true, do not validate
	  text string.

	* XmlSchemaValidatorTests.cs : added test for bug #469713.


svn path=/trunk/mcs/; revision=125069
2009-01-30 11:14:22 +00:00
Atsushi Eno 4c6adc47ba 2009-01-30 Atsushi Enomoto <[email protected]>
* XmlSchemaElement.cs : to reference elementFormDefault, use its
	  ancestor, not the schema island root.


svn path=/trunk/mcs/; revision=125058
2009-01-30 08:13:06 +00:00
Atsushi Eno 0fc59854a9 2009-01-30 Atsushi Enomoto <[email protected]>
* XmlSchemaValidatingReader.cs : implement IHasXmlParserContext to
	  pass possible DTD information.

	* DTDValidatingReader2.cs, EntityResolvingXmlReader.cs : simplify
	  parsercontext provision.
	* XmlValidatingReader.cs : expand parser context provision to
	  non-dtdvalidating readers.


svn path=/trunk/mcs/; revision=125053
2009-01-30 03:17:39 +00:00
Atsushi Eno cf8b64fa68 2009-01-22 Atsushi Enomoto <[email protected]>
* XmlXapResolver.cs : fix assembly qualified names,
	  and give detailed errors.
	* XmlResolver.cs : in 2.1 do not resolve relative Uri
	  to absolute.


svn path=/trunk/mcs/; revision=124218
2009-01-22 15:54:19 +00:00
Atsushi Eno 00fb04d6fd 2009-01-22 Atsushi Enomoto <[email protected]>
* XmlXapResolver.cs : new in 2.1.
	* XmlReaderSettings.cs : use above.

	* net_2_1_raw_System.Xml.dll.sources: added XmlXapResolver.cs.


svn path=/trunk/mcs/; revision=124198
2009-01-22 13:40:32 +00:00
Atsushi Eno c88cc51658 2009-01-22 Atsushi Enomoto <[email protected]>
* XmlSchemaImporter.cs : hack ImportSchemaType().


svn path=/trunk/mcs/; revision=124164
2009-01-22 04:55:40 +00:00
Atsushi Eno c982bb5013 2009-01-20 Atsushi Enomoto <[email protected]>
* Expression.cs : give up sortless iterator optimization.
	  Fixed bug #443490.

	* SelectNodesTests.cs : added test for bug #443490.


svn path=/trunk/mcs/; revision=123871
2009-01-20 11:37:44 +00:00
Atsushi Eno 29dd077cdd 2009-01-20 Atsushi Enomoto <[email protected]>
* XmlDocumentNavigator.cs : in some corner cases an attribute
	  may have null OwnerElement. Fixed bug #458245.

	* SelectNodesTests.cs : added test for bug #458245.


svn path=/trunk/mcs/; revision=123868
2009-01-20 10:46:06 +00:00
Atsushi Eno aa2607300a 2009-01-20 Atsushi Enomoto <[email protected]>
* XmlReaderBinarySupport.cs : do not hang in the middle of reading
	  byte chunk at some node types. Fixed bug #464229.

	* XmlReaderCommonTests.cs : added test for bug #464229.


svn path=/trunk/mcs/; revision=123866
2009-01-20 10:35:44 +00:00
Sebastien Pouliot 307ea3f97c 2009-01-14 Sebastien Pouliot <[email protected]>
* net_2_1_raw_System.Xml.dll.sources: Add NamespaceHandling


svn path=/trunk/mcs/; revision=123373
2009-01-14 16:38:18 +00:00
Sebastien Pouliot 25c6f1460f 2009-01-14 Sebastien Pouliot <[email protected]>
* NamespaceHandling.cs: New. Enum for Silverlight 2. Microsoft's 
	System.Xml.Linq.dll (often bundled in XAP files) needs it (or we 
	throw a TypeLoadException).
	* XmlWriterSettings.cs: Add SL2 specific NamespaceHandling property


svn path=/trunk/mcs/; revision=123372
2009-01-14 16:37:56 +00:00
Atsushi Eno b9326e77b1 2009-01-08 Atsushi Enomoto <[email protected]>
* XmlReader.cs : ReadContentAsString() does not reject non-elements.
	  ReadElementContentAsString() rejects non-content nodes.

	* XmlReaderCommonTests.cs : added test for ReadContentAsString()
	  and ReadElementContentAsString() against certain node types.


svn path=/trunk/mcs/; revision=122737
2009-01-08 02:39:23 +00:00
Atsushi Eno 27e2330f5b 2008-12-19 Atsushi Enomoto <[email protected]>
* XmlNamespaceManager.cs : namespace lookup failed for non-atomic
	  string in 1.1 profile. Fixed 1.0 part of #379139.


svn path=/trunk/mcs/; revision=121834
2008-12-19 08:18:02 +00:00
Atsushi Eno f50d8f786c 2008-12-18 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs : remove unused file.


svn path=/trunk/mcs/; revision=121833
2008-12-19 05:49:37 +00:00
Atsushi Eno e6f0a2c814 2008-12-15 Atsushi Enomoto <[email protected]>
* import-subst-dbr-base.xsd, import-subst-dbr-ext.xsd :
	  new test files.


svn path=/trunk/mcs/; revision=121510
2008-12-15 10:49:12 +00:00
Atsushi Eno 3bfb4f73d0 2008-12-15 Atsushi Enomoto <[email protected]>
* XmlSchema.cs, XmlSchemaSet.cs : move substitutionGroup processing
	  from validation phase to post-subset-collection phase. It caused
	  inconsistent substitutionGroup processing among import and
	  schemaSet.Schemas(). Fixed possible XBRL schema processing.

	* XmlSchemaSetTests.cs : added test for Compile() after "duplicating"
	  call to Add() for such schemas that also have xs:import of the
	  same schema that causes errors on processing substitutionGroup.


svn path=/trunk/mcs/; revision=121509
2008-12-15 10:39:00 +00:00
Gonzalo Paniagua Javier 070f6cbea3 2008-12-10 Gonzalo Paniagua Javier <[email protected]>
* XmlSerializer.cs: updated to work with shadowcopy fixes.


svn path=/trunk/mcs/; revision=121275
2008-12-11 04:19:05 +00:00
Atsushi Eno 42e6fd4373 2008-12-09 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : skip text validation under xs:any.
	  Fixed part of bug #449512.

	* XmlSchemaValidator.cs : skip text validation under xs:any.

	* XmlValidatingReaderTests.cs : added test for validating mixed
	  element under xs:any.


svn path=/trunk/mcs/; revision=121093
2008-12-09 11:19:20 +00:00
Atsushi Eno b505253fe7 2008-12-09 Atsushi Enomoto <[email protected]>
* XslCompiledTransform.cs : Fixed bug #450797, patch by Jonathan
	  Anderson. Preserve whitespace-only text in xsl:text.

	* XslTransformTests.cs : test for bug #450797 by Jonathan Anderson.


svn path=/trunk/mcs/; revision=121083
2008-12-09 08:20:24 +00:00
Atsushi Eno 0b09797b9f 2008-12-09 Atsushi Enomoto <[email protected]>
* Iterator.cs : DescendantIterator.Clone() was not cloning current
	  node in new code. Fixed bug #456103.

	* XPathNavigatorTests.cs : added test fo bug #456103.


svn path=/trunk/mcs/; revision=121080
2008-12-09 08:12:07 +00:00
Gonzalo Paniagua Javier 884e641b80 grammar
svn path=/trunk/mcs/; revision=119578
2008-11-21 05:32:13 +00:00
Atsushi Eno e30d02ad83 merge XPath optimization branch. About 15% faster/less memory use so
far.


svn path=/trunk/mcs/; revision=118710
2008-11-13 13:05:44 +00:00
Atsushi Eno ae6c7511d1 Fix for bug #430759.
svn path=/trunk/mcs/; revision=117965
2008-11-05 11:54:29 +00:00
Atsushi Eno 4a85110092 2008-11-04 Atsushi Enomoto <[email protected]>
* XmlTextReader.cs : simply call ClearValueBuffer() on each Read().


svn path=/trunk/mcs/; revision=117838
2008-11-04 02:25:08 +00:00
Atsushi Eno ff8c76700f fix bug #435206.
svn path=/trunk/mcs/; revision=117232
2008-10-28 01:14:03 +00:00
Atsushi Eno 6b68299d0f fix bug #433774.
svn path=/trunk/mcs/; revision=117216
2008-10-27 23:57:04 +00:00
Atsushi Eno be47115f90 2008-10-27 Atsushi Enomoto <[email protected]>
* XmlSchemaValidatingReader.cs : give SourceUri to
	  XmlSchemaValidator, which used to be impossible in 2.0 betas.


svn path=/trunk/mcs/; revision=117157
2008-10-27 14:00:29 +00:00
Jonathan Pryor 7580b20058 Migrating from monodoc/class/System.XML to mcs/class/System.XML/Documentation...
svn path=/trunk/mcs/; revision=116217
2008-10-17 14:12:20 +00:00
Zoltan Varga f10ff05fc6 2008-10-08 Zoltan Varga <[email protected]>
* Makefile */Makefile build/profiles/*.make: Rename the 'default'
	profile to 'net_1_1'.

svn path=/trunk/mcs/; revision=115166
2008-10-08 05:58:51 +00:00
Atsushi Eno b72c134a48 2008-09-24 Atsushi Enomoto <[email protected]>
* XmlDocument.cs : it returns non-null Schemas by default (and
	  returns non-empty set after being set null).


svn path=/trunk/mcs/; revision=113958
2008-09-24 13:49:20 +00:00
Atsushi Eno 11ab97e09f 2008-09-19 Atsushi Enomoto <[email protected]>
* XmlSerializer.cs : revert previous change and fix sys.data tests.


svn path=/trunk/mcs/; revision=113521
2008-09-19 12:47:57 +00:00
Atsushi Eno 5a15db1e4c 2008-09-19 Atsushi Enomoto <[email protected]>
* DefaultContext.cs, Expression.cs: do not premise BaseIterator.


svn path=/trunk/mcs/; revision=113511
2008-09-19 10:46:48 +00:00
Atsushi Eno ecf1894b4b 2008-09-19 Atsushi Enomoto <[email protected]>
* XPathComparer.cs : no need to limit to BaseIterator.


svn path=/trunk/mcs/; revision=113510
2008-09-19 10:45:23 +00:00
Atsushi Eno bf8280aac5 2008-09-19 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : oops, wrong #if ranges.


svn path=/trunk/mcs/; revision=113498
2008-09-19 08:58:05 +00:00
Atsushi Eno 1d36c92121 2008-09-19 Atsushi Enomoto <[email protected]>
* XPathNavigator.cs : made some 2.0-only methods available in 1.x
	  so that we don't have to hesitate to optimize xpath using them.


svn path=/trunk/mcs/; revision=113491
2008-09-19 04:09:39 +00:00
Atsushi Eno a3f31057d1 2008-09-17 Atsushi Enomoto <[email protected]>
* SubtreeXmlReader.cs : Close() should correctly skip empty element.
	  In Read(), make sure to move from Element state.

	* XmlReader.cs : detailed error location in ReadSubtree().

	* XmlReaderCommonTests.cs : another Subtree+EmptyElement case.


svn path=/trunk/mcs/; revision=113339
2008-09-17 17:50:18 +00:00
Atsushi Eno 215f86b887 2008-09-17 Atsushi Enomoto <[email protected]>
* SubtreeXmlReader.cs : make sure to set eof for empty element after
	  Read().

	* XmlReaderCommonTests.cs :
	  added test for NodeType for empty element.


svn path=/trunk/mcs/; revision=113312
2008-09-17 14:24:02 +00:00
Atsushi Eno 0f484f3d35 2008-09-17 Atsushi Enomoto <[email protected]>
* XmlSerializer.cs : in 2.0 profile it seems to create XmlReader
	  for stream and textreader, that skips whitespaces.


svn path=/trunk/mcs/; revision=113307
2008-09-17 13:29:18 +00:00
Atsushi Eno 14715d78f1 2008-09-17 Atsushi Enomoto <[email protected]>
* SubtreeXmlReader.cs : return appropriate property values for EOF.


svn path=/trunk/mcs/; revision=113305
2008-09-17 13:10:37 +00:00