You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DbResXConverter writes resx files without a proper xml declaration.
The culprit seems to be Westwind.Globalization/SupportClasses/DbResXConverter.cs, line 337. This line intends to write the xml template to file by writing the root child element, thereby ignoring the xml declaration.
The text was updated successfully, but these errors were encountered:
Apologize for missing this for so long. Added the appropriate processing instruction header.
FWIW, while it's certainly better to write the PI, have you actually seen a failure because of it missing? The stock PI and default formatting for XmlWriter should not cause any problems if the PI is actually missing and as far as I can see the Resx resources generated work fine.
According to my collegae, Visual Studio did have problems reading the resx files without the xml declaration. (Otherwise he would not have made a problem about it ;-))
Hi Rick,
DbResXConverter writes resx files without a proper xml declaration.
The culprit seems to be Westwind.Globalization/SupportClasses/DbResXConverter.cs, line 337. This line intends to write the xml template to file by writing the root child element, thereby ignoring the xml declaration.
The text was updated successfully, but these errors were encountered: