https://bugzilla.novell.com/show_bug.cgi?id=336495#c2


Atsushi Enomoto <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEW                                             |NEEDINFO
      Info Provider|                                                |[EMAIL 
PROTECTED]




--- Comment #2 from Atsushi Enomoto <[EMAIL PROTECTED]>  2007-10-29 05:40:59 
MST ---
Since no further example case is provided, I've written my own example. It
however disagrees your bug report.

----
$ cat 336495.cs
using System;
using System.Xml;

public class Test
{
        public static void Main ()
        {
                string xml = @"<root xsi:noNamespaceSchemaLocation='336495.xsd'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>nonnumber</root>";
                string xml2 = @"<root
xsi:noNamespaceSchemaLocation='nosuchfile.xsd'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>nonnumber</root>";
                XmlDocument doc = new XmlDocument ();
                doc.LoadXml (xml);
                doc.LoadXml (xml2);
                // XmlTextReader tr = new XmlTextReader (new XmlTextReader
(xml, XmlNodeType.Document, null));
                // XmlValidatingReader vr = new XmlValidatingReader (tr);
                // while (!vr.EOF)
                //      vr.Read ();
        }
}

$ cat 336495.xsd
<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>
  <xs:element name='root' type='xs:int' />
</xs:schema>
----

(Here "xml" points to an invalid schema and "xml2" points to nonexistent
schema.)

Setting needinfo, and will close it as invalid in case no further example is
provided.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to