2003-11-02 Pedro Mart�nez Juli� <yoros@wanadoo.es>
[mono.git] / mcs / class / System.XML / System.Xml / ChangeLog
index 2cad9e56a79684c1abebcca78c06575ac3655f29..458f672cef658014e62e3a5f87d03e55d4f7fdc2 100644 (file)
@@ -1,3 +1,181 @@
+2003-11-02  Pedro Martínez Juliá  <yoros@wanadoo.es>
+
+       * XmlConvert.cs: Only parse INF/-INF/NaN. Other Infinty or NAN
+       numbers are parsed with the respective ::Parse method.
+
+2003-11-01  Pedro Martínez Juliá  <yoros@wanadoo.es>
+
+       * XmlConvert.cs: Revert my last change. INF and -INF must be
+       processed here because Double::Parse and Single::Parse doesn't
+       understand anything of parsing [-]INF.
+
+2003-11-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlDocument.cs : Save(Stream) should not close the stream.
+
+2003-10-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * DTDReader.cs, DTDValidatingReader.cs, XmlInputStream.cs,
+         XmlTextReader.cs : More cleanup.
+       * XmlDocument.cs : Removed CheckName(). Code cleanup.
+       * XmlElement.cs : .ctor() now adds default attributes (if required).
+       * XmlAttribute.cs, XmlElement.cs, XmlEntity.cs, XmlEntityReference.cs,
+         XmlNotation.cs : Now uses OwnerDocument's NameTable.
+
+2003-10-25  Pedro Martínez Juliá  <yoros@wanadoo.es>
+
+       * XmlConvert.cs: Support for the sign in double and single. The
+       processing of the infinites and nan numbers are more complex than
+       comparing to "INF" so we must let Double::Parse and Single::Parse
+       doing their job.
+
+2003-10-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * DTDValidatingReader.cs : Now it handles whitespace entity as
+         significant.
+       * XmlConvert.cs : As to NIST testcases, exponential support on single
+         and double floating point numbers.
+       * XmlValidatingReader.cs : If it IsDefault, then line number and line
+         position returns 0.
+
+2003-10-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * DTDReader.cs,
+         XmlConstructs.cs,
+         XmlTextReader.cs,
+         XmlWriter.cs : Fixed incorrect access modifier.
+       * XmlTextWriter.cs : Imported state variable from XmlWriter.
+       * DTDValidatingReader.cs : Removed extraneous MonoTODO.
+       * XmlConvert.cs : Implemented ToTimeSpan().
+         Modified ToDateTime() to reuse the same array.
+
+2003-10-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlAttributeCollection.cs : Fixed synchronization stuff.
+       * XmlConvert.cs : Added two FromBinHexString() methods.
+       * XmlTextReader.cs : Modified to use one of the above method.
+       * XmlValidatingReader.cs : XsdValidatingReader.XmlResolver will be 
+         disabled (in the next commit), so resolver won' be set to it.
+         Attempt to validate against XDR now throws NotSupportedException.
+
+2003-10-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlChar.cs : added WhitespaceChars, used in common.
+       * XmlConvert.cs,
+         XmlDeclaration.cs,
+         XmlParserInput.cs,
+         XmlTextReader.cs,
+         XmlTextWriter.cs : String.Trim()
+       * XmlConvert.cs : shifted XmlConstructs to XmlChar.
+       * XmlTextReader.cs : Implemented Normalization.
+
+2003-10-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlNode.cs : GetPrefixOfNamespace() also contained a bug similar to
+         GetNamespaceOfPrefix() fixed at 2003-10-13.
+       * XmlTextReader.cs : ReadBase64() should keep incomplete base64 block
+         which remained by previous call of this method.
+       * XmlUrlResolver.cs : Added assertion for file Uri path's absoluteness.
+       * XmlValidatingReader.cs : Notice about intention of XDR won't be
+         supported (at least in Mono 1.0).
+
+2003-10-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlDocument.cs : CloneNode() does not copy PreserveWhitespace.
+       * XmlWriter.cs : Calling WriteNode() with XmlReader whose state is
+         XmlDeclaration now calls WriteProcessingInstruction(). This fixes
+         testcase XmlWriterTests.WriteNodeFullDocument().
+       * XmlTextWriter.cs : Added LAMESPEC comments related to above.
+
+2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlDocument.cs : Fixed bugzilla #49607. Save() outputs XML 
+         declaration even though there is no XmlDeclaration child.
+       * XmlTextReader.cs : Fixed Init() so that ResetState() should work.
+
+2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlTextWriter.cs : Implemented WriteSurrogateCharEntity().
+         Reverted my recent extraneous check in WriteStartAttribute().
+
+2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlNode.cs : GetNamespaceOfPrefix() should check Attributes existence.
+         And it should throw ArgumentNullException.
+
+2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlAttribute.cs : Fixed InnerText that did not removed its content
+         if there is two or more children.
+       * XmlNode.cs : XmlNode.cs : Fixed bugzilla #49580 (1)to return "",
+         (2)not to compare NodeType for detached nodes, (3)optimization to
+         compare element's prefix.
+       * XmlSecureResolver.cs : Removed extraneous members.
+
+2003-10-09  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * Added DTDReader.cs. It is almost importation of XmlTextReader.
+       * DTDObjectModel.cs :
+         - More .NET-ism. Properties took place of fields.
+         - Imported PE set from XmlTextReader. Added location info.
+         - Added DTDEntityBase common to PE and GE.
+         - More correct text declaration handling with new XmlTextReader.
+       * DTDValidatingReader.cs :
+         - Now uses entity resolving XmlTextReader to validate attributes
+           correctly. Implemented standalone
+         - Standalone and default related validity constraints check.
+       * XmlImplementation.cs: Implemented HasFeature().
+       * XmlNode.cs : Implemented Supports().
+       * XmlNodeReader.cs : Modified to use XmlTextReader.SkipTextDeclaration()
+       * XmlParserInput.cs : Removed extraneous members.
+       * XmlTextReader.cs :
+         - All DTD related functionality now goes to DTDReader.cs
+         - It became old simple TextReader input style.
+         - Implemented GetRemainder().
+         - Implemented ReadBase64(), ReadBinHex() and ReadChars(), using 
+           additional new private method ReadUntilEndTag().
+         - Removed incomplete MaybeTextDecl and added SkipTextDeclaration().
+           ReadXmlDeclaration() now became simple.
+         - More strict entity reference check at SetEntityReferenceProperty()
+         - Removed extraneous members.
+       * XmlWriter.cs : WriteNode(XmlNodeType.None) does not raise error.
+
+2003-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * XmlTextReader.cs: when we get an unexpected EOF in ReadContent, set
+       the state before throwing the exception if depth > 0.
+
+2003-10-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlAttribute.cs : Removed extraneous MonoTODO.
+       * XmlTextWriter.cs : Implemented WriteBinHex() and WriteChars().
+         WriteStartElement() and WriteStartAttribute() should ignore Prefix
+         if namespace uri is not specified.
+
+2003-10-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlDocumentFragment.cs,
+         XmlElement.cs,
+         XmlEntityReference.cs : Removed extraneous MonoTODO.
+       * XmlNode.cs : Implemented Normalize().
+       * XmlNodeReader.cs :
+         - AttributeCount and HasAttributes should return its owner element's
+           value, to be consistent with XmlTextReader.
+         - Fixed Depth to reflect correct attribute/attribute-value iteration.
+         - simplified ownerElement and HasValue.
+         - Prefix won't return null.
+         - MoveToElement() should also work against attribute value nodes.
+       * XmlTextReader.cs : MoveToElement() should return false if it is
+         positioned at element itself.
+
+2003-10-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlTextReader.cs : Improved SignificantWhitespace handling.
+
+2003-10-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XmlSecureResolver.cs : Implemented basic feature.
+
 2003-10-01  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
 
        * XmlUrlResolver.cs : Should work with null type argument.