Windows Develop Bookmark and Share   
 index > Windows Forms General > XML Editor "Bug"
 

XML Editor "Bug"

This isn't a Winforms specific bug, however I'm not exactly sure where to post VS.NET related bugs.  The XML editor provided in VS.NET doesn't properly 'ignore' the CDATA tag.

<tag>
   <![CDATA[it shouldn't matter what I put here <><dsflkj><D<<>><<<]]>
</tag>

Putting that in the editor and trying to view it, or even reformat the document doesn't work the way it should in my mind.  Let me know if I'm in the wrong on this.
MigrationUser 1  Monday, February 10, 2003 2:35 AM
How did you get to the "XML Editor" in question?  Is it the .resx editor?

thanks
 - mike
MigrationUser 1  Wednesday, February 12, 2003 7:10 PM
--ignore: accidental duplicate
MigrationUser 1  Wednesday, February 12, 2003 9:06 PM
Just the standard (I assume) XML editor.  Create a .xml file and open it up.  Switch <b>out of</b> of design view into "XML" view.  Then put the good (but bad) XML in the file and try to format the document (CTRL K + D or Edit/Advanced/Format Document).

On one case I had the design view complain. (I can't seem to remember what I had to produce the error)

Another issue is the autocomplete within the CDATA tag.  If I start to type a tag, when I close the begin tag it auto puts in the end tag.  It should behave similar to that of a comment tag.

I hope this clears that up.
MigrationUser 1  Wednesday, February 12, 2003 9:12 PM
I just searched our bug database and this is a known issue.  The VS Shell team owns the XML editor (although it uses the Windows Forms DataGrid control).  They will look into this bug in a future release.

 - mike
MigrationUser 1  Tuesday, February 18, 2003 5:41 PM
Good that means I only have to wait for a future release ;).  That bug database should really be made *ahem* public so things like this can be resolved at our own expense, but anyways, like that is ever going to happen.  Thanks for looking into that for me.
MigrationUser 1  Tuesday, February 18, 2003 5:56 PM

You can use google to search for other answers

Custom Search

More Threads

• How to update richtextbox dynamically with multithreading in windows forms using C#??
• how to implement api function?
• Retrieving a TextBox value as a String
• Context Menu's Events and Arguments
• Hide TopLeftHeader column of DataGridView
• Shift drawn line on control resize...?
• Problem with GDI+
• any idea how to get the 1st icon from an exe -file?
• Widbey's Stable! Very important...
• Event triggered when a user attempts to work on the form