[Mono-bugs] [Bug 59651][Nor] New - Simple content not handled by XmlDataDocument

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 6 Jun 2004 07:44:38 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by 1@234.cx.

http://bugzilla.ximian.com/show_bug.cgi?id=59651

--- shadow/59651	2004-06-06 07:44:38.000000000 -0400
+++ shadow/59651.tmp.26006	2004-06-06 07:44:38.000000000 -0400
@@ -0,0 +1,54 @@
+Bug#: 59651
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: Fedora Core 2 with all current updates
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Data
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: 1@234.cx               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Simple content not handled by XmlDataDocument
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+Suppose a schema defines a tag with some attributes, and which also takes
+simple content.  For example there might be a tag <foo bar="x">y</foo>. 
+When this is loaded into the XmlDataDocument, it creates a table having
+columns for both the tags and the simple content.  In this case, it might
+create columns bar and foo_text.
+
+Unfortunately when the table is populated, the foo_text column will be all
+null.  The other columns are filled in correctly.
+
+(I hope I have understood the documentation correctly, and that this really
+is a bug.  I don't have access to Visual Studio so I can't compare with the
+Microsoft implementation.)
+
+Steps to reproduce the problem:
+1. Compile the test case which I will attach shortly.
+2. Run the test case in the same directory as the schema and XML input files.
+
+Actual Results:
+
+Simple content column is all null.
+
+Expected Results:
+
+Simple content column should contain bar and baz.
+
+How often does this happen? 
+
+Always.
+
+Additional Information:
+
+This problem occurs with beta 2.