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

https://bugzilla.novell.com/show_bug.cgi?id=649969#c3


Oskar Berggren <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
       InfoProvider|[email protected]    |

--- Comment #3 from Oskar Berggren <[email protected]> 2010-11-02 
12:43:44 UTC ---
Created an attachment (id=398164)
 --> (http://bugzilla.novell.com/attachment.cgi?id=398164)
Simple test case (small web app)

The output currently is:

<?xml version="1.0" encoding="utf-8"?>
<BraceResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns="http://tempuri.org/";>
  <Parameters>
    <BraceParameter Name="no braces" Value="foo" />
    <BraceParameter Name="one { left brace" Value="foo" />
    <BraceParameter Name="one  right brace" Value="foo" }/>
    <BraceParameter Name="one {bar brace pair" Value="foo" }/>
    <BraceParameter Name="two {bar brace pairs {bepa}" Value="foo" }/>
  </Parameters>
</BraceResult>


The output should be:
<?xml version="1.0" encoding="utf-8"?>
<BraceResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns="http://tempuri.org/";>
  <Parameters>
    <BraceParameter Name="no braces" Value="foo" />
    <BraceParameter Name="one { left brace" Value="foo" />
    <BraceParameter Name="one } right brace" Value="foo" />
    <BraceParameter Name="one {bar} brace pair" Value="foo" />
    <BraceParameter Name="two {bar} brace pairs {bepa}" Value="foo" />
  </Parameters>
</BraceResult>

Note how the first right brace gets moved to almost the end of the line.

The formatting is done using regular expression, and that code currently seems
to be based on the theory that a right brace will never occur naturally in an
attribute value.

-- 
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