Bug 30970 - xaml formatting fails silently with badly form xaml
Summary: xaml formatting fails silently with badly form xaml
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: XML Editor ()
Version: 5.9
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Bugzilla
Depends on:
Reported: 2015-06-10 08:11 UTC by George Cook
Modified: 2015-07-08 13:38 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description George Cook 2015-06-10 08:11:04 UTC
very irritating bug.

you trigger the formatter, if the document has any kind of error (missing tag, unaligned tag, any minute thing) it does nothing.

Gives no error message, no warning, doesn't tell you what line of the file is the problem.

The lack of good xaml support is already a pain.. but this is very irritating, because the formatter presumably knows why it couldn't continue. could it not put a status message somewhere, to let us know where the problem is - it would change it from an irritating task to a useful feature.
Comment 1 Udham Singh 2015-06-10 10:00:48 UTC
We have checked this issue and observed that if .xaml file has an error like missing closing tag or unaligned tag and we use option 'Format Document' via 'Edit > Format > Format Ducument' then formatter does not work and does not give any error or warning. Please refer the screencast : http://www.screencast.com/t/Mgsrqccl

Ide Log : https://gist.github.com/Udham1/f4ebfd424351fed3b7f8

Environment Info : 

=== Xamarin Studio ===

Version 5.9.4 (build 4)
Installation UUID: ce927b2a-2c07-44c5-b186-09cfdafba6dc
	Mono 4.0.2 ((detached/198235d)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400020004

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Build Information ===

Release ID: 509040004
Git revision: 0c8e73f6b66e066a642724a8241a0998b6329180
Build date: 2015-06-08 11:30:54-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8

=== Operating System ===

Mac OS X 10.9.5
Darwin Xamarin76s-Mac-mini.local 13.4.0 Darwin Kernel Version 13.4.0
    Sun Aug 17 19:50:11 PDT 2014
    root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
Comment 2 xamarin-release-manager 2015-07-08 13:38:51 UTC
Fixed in version (master)