Commit Graph
18 Commits
Author SHA1 Message Date
Rodrigo Kumpera 8752d92528 Kill MOONLIGHT from System.Xml. 2013-02-11 16:03:40 -05:00
Jb Evain 846150badd use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153673
2010-03-16 12:31:23 +00:00
Jb Evain 561bf6b6b2 bring a net_2_0 feature set to monotouch
svn path=/trunk/mcs/; revision=140606
2009-08-25 10:18:20 +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
Marek Safar 95a6e77b85 Warnings cleanup
svn path=/trunk/mcs/; revision=111839
2008-08-28 16:53:31 +00:00
Atsushi Eno dc93e1e74b 2007-08-09 Atsushi Enomoto <[email protected]>
* XmlReader.cs : HasValue, ReadAttributeValue() and ResolveEntity()
	  do not exist in 2.1 profile. Hiding abstract stuff seems to cause
	  some issues at run time, so they are ifdef-ed out from 2.1.
	* XmlNodeReader2.cs DTDValidatingReader2.cs XmlTextReader.cs
	  XmlTextReader2.cs XmlNodeReaderImpl.cs DTDValidatingReader.cs
	  EntityResolvingXmlReader.cs : hence the change above.

	* SubtreeXmlReader.cs XmlFilterReader.cs : dependent changes due to
	  XmlReader.cs changes for 2.1 profile.


svn path=/trunk/mcs/; revision=83702
2007-08-09 03:37:04 +00:00
Atsushi Eno 96c772e3ef 2007-07-04 Atsushi Enomoto <[email protected]>
* System.Xml.Core.dll.sources : remove unused DTDValidatingReader2.cs

	* DTDValidatingReader2.cs :
	  we can remove NET_2_1 from this unused code in SL.


svn path=/trunk/mcs/; revision=81350
2007-07-04 18:37:29 +00:00
Atsushi Eno 7fca944c2b 2007-07-04 Atsushi Enomoto <[email protected]>
* SubtreeXmlReader.cs XmlFilterReader.cs :
	  exclude xsd stuff from NET_2_1 profile.

	* DTDAutomata.cs DTDObjectModel.cs DTDReader.cs
	  DTDValidatingReader2.cs XmlException.cs XmlReader.cs
	  XmlReaderSettings.cs XmlWriter.cs :
	  Make System.Xml.Core.dll build easier, using NET_2_1.

	  DTD support is simply cut at this stage (as it largely depends on
	  sys.xml.schema stuff).


svn path=/trunk/mcs/; revision=81332
2007-07-04 13:19:57 +00:00
Atsushi Eno 31d31bbcc3 2007-02-20 Atsushi Enomoto <[email protected]>
* DTDValidatingReader2.cs, XmlTextReader.cs, XmlNodeReaderImpl.cs:
	  Read() silently returns false when it is closed. Fixed bug #80848.

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


svn path=/trunk/mcs/; revision=73147
2007-02-20 08:44:13 +00:00
Atsushi Eno cc34d1694b 2006-12-12 Atsushi Enomoto <[email protected]>
* DTDValidatingReader2.cs : when an attribute declaration is missing
	  in the corresponding attlist declaration, it caused NRE.
	  Fixed bug #80231.

	* XmlValidatingReaderTests.cs : added test for bug #80231.


svn path=/trunk/mcs/; revision=69382
2006-12-12 03:13:15 +00:00
Atsushi Eno f142637031 2006-07-19 Atsushi Enomoto <[email protected]>
* XmlReader.cs : In Create(), support validation flags for DTD.
	* DTDValidatingReader2.cs : when NET_2_0 and ProcessIdentityConstraints
	  is false, skip ID validation.


svn path=/trunk/mcs/; revision=62755
2006-07-19 17:25:58 +00:00
Atsushi Eno a5ab4e3f7b 2006-03-23 Atsushi Enomoto <[email protected]>
* DTDValidatingReader.cs : avoid NullReferenceException. Input
	  XmlReader might not be IHasXmlParserContext.


svn path=/trunk/mcs/; revision=58345
2006-03-23 09:23:30 +00:00
Atsushi Eno 720f62defa 2006-02-20 Atsushi Enomoto <[email protected]>
* DTDValidatingReader2.cs : added Source XmlReader property for
	  XsdValidatingReader use (see XsdValidatingReader change as well).

	* XsdValidatingReader.cs : when DTD did not appear in 
	  DTDValidatingReader, it almost makes no sense to use it, so just
	  use its internal EntityResolvingXmlReader (it is required to
	  detect "undeclared entity in use" well-formedness violation).
	  It could double processing speed (or more).


svn path=/trunk/mcs/; revision=57077
2006-02-20 18:48:47 +00:00
Atsushi Eno 77f3ba2df1 2006-02-20 Atsushi Enomoto <[email protected]>
* EntityResolvingXmlReader.cs, XmlNodeReader2.cs, XmlTextReader2.cs :
	  in get_NodeType() entity reader existence check is faster.
	* DTDValidatingReader2.cs : IsDefault could be avoided.


svn path=/trunk/mcs/; revision=57069
2006-02-20 15:00:34 +00:00
Atsushi Eno 01d782a63c 2006-02-17 Atsushi Enomoto <[email protected]>
* DTDValidatingReader2.cs : more refactoring. Split ReadContent()
	  into some methods. Reduced some extra MoveToElement().


svn path=/trunk/mcs/; revision=56995
2006-02-17 17:47:13 +00:00
Atsushi Eno f1f4028ef3 2006-02-17 Atsushi Enomoto <[email protected]>
* DTDValidatingReader2.cs : more refactoring. Removed and simplified
	  some error check. String += would be enough for entity-reference-
	  mixed attributes which rarely happen, so simplify the code.
	  Added comments on how the fields are used.


svn path=/trunk/mcs/; revision=56986
2006-02-17 17:03:36 +00:00
Atsushi Eno ef21cde061 2006-02-17 Atsushi Enomoto <[email protected]>
* DTDValidatingReader2.cs : attribute node simplification. It now
	  stores attribute node slots, including default attributes for
	  further refactoring.


svn path=/trunk/mcs/; revision=56978
2006-02-17 16:07:12 +00:00
Atsushi Eno 29ce6906d7 2006-02-17 Atsushi Enomoto <[email protected]>
* DTDValidatingReader2.cs, EntityResolvingXmlReader.cs :
	  new files for refactoring DTD validating reader. As the first stage,
	  it splits entity handling process from DTD validation step.

	  (DTDValidatingReader.cs will be removed at some stage).

	* System.Xml.dll.sources : removed DTDValidatingReader and added
	  DTDValidatingReader2.cs and EntityResolvingXmlReader.cs.


svn path=/trunk/mcs/; revision=56967
2006-02-17 08:47:38 +00:00