[Mono-bugs] [Bug 343864] New: Mono treats newline as invalid XML

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 23 20:38:19 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=343864

           Summary: Mono treats newline as invalid XML
           Product: Mono: Class Libraries
           Version: 1.2.5
          Platform: i686
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: novell at erik.prutser.cx
         QAContact: mono-bugs at ximian.com
                CC: novell at erik.prutser.cx
          Found By: Other


Created an attachment (id=184598)
 --> (https://bugzilla.novell.com/attachment.cgi?id=184598)
Test case that  breaks mono's xml validation.

Description of Problem:

Mono's XML validator sometimes incorrectly states that an xml document is
invalid when it is checked against a schema. Newlines or spaces triggers the
problem.

Steps to reproduce the problem:
1. 

Run the attached test program. This program will succeed on .Net (2.0), but
fail on Mono (tested against 1.2.5.1)


Actual Results:

Fails on Mono, succeeds on .Net


Expected Results:

Mono should properly validate XML when a schema is used.


How often does this happen? 

Always.


Additional Information:

The hardcoded schema and xml have been checked by external tools (xerces, Java
and w3c online validator).


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list