Previously (in VS2012) if there was an error in the edmx file the user could open the edmx with the xml editor and the problematic part would have squiggles showing they user where the error is. Now when displaying the edmx we are able to tell the location of the error (i.e. the line and the column) but as soon as we open the edmx in the xml editor the line/column numbers turn to -1 and therefore we no longer show squiggles.
Repro steps:
1. Create a valid edmx from the database
2. Open the edmx in the xml editor
3. Modify the edmx so that is no longer valid (e.g. change a name of a property so that is it invalid by adding a space in the middle)
4. Save and close
5. Open the edmx file in the designer and you will see that the error in the error pane has correct line and column
6. Open the edmx file with the xml editor and the line and the column # will turn to 1,1. There will be no squiggles showing the error location
, change the provider manifest token so that is not recognized etc.
Repro steps:
1. Create a valid edmx from the database
2. Open the edmx in the xml editor
3. Modify the edmx so that is no longer valid (e.g. change a name of a property so that is it invalid by adding a space in the middle)
4. Save and close
5. Open the edmx file in the designer and you will see that the error in the error pane has correct line and column
6. Open the edmx file with the xml editor and the line and the column # will turn to 1,1. There will be no squiggles showing the error location
, change the provider manifest token so that is not recognized etc.