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
Fix merge conflict residue in XmlProvider.fs: correct arg indices and list syntax
After PR #1629 (UseOriginalNames) was merged into main, the DtdProcessing branch
had a merge conflict residue in XmlProvider.fs:
1. Both dtdProcessing and useOriginalNames were assigned from args.[11]
- dtdProcessing should be args.[11] (DtdProcessing param, index 11)
- useOriginalNames should be args.[12] (UseOriginalNames param, index 12)
2. The static parameters list had two closing brackets causing a syntax
error that Fantomas could not parse.
3. The helpText had a duplicate triple-quote after the DtdProcessing param doc.
Build verified (0 errors), Fantomas clean.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@@ -228,7 +228,7 @@ type public XmlProvider(cfg: TypeProviderConfig) as this =
228
228
Note inline schemas are not used from Xsd documents.
229
229
</param>
230
230
<param name='PreferDateOnly'>When true on .NET 6+, date-only strings are inferred as DateOnly and time-only strings as TimeOnly. Defaults to false for backward compatibility.</param>
231
-
<param name='DtdProcessing'>Controls how DTD declarations in the XML are handled. Accepted values: "Ignore" (default, silently skips DTD processing, safe for most cases), "Prohibit" (throws on any DTD declaration), "Parse" (enables full DTD processing including entity expansion, use with caution).</param>"""
231
+
<param name='DtdProcessing'>Controls how DTD declarations in the XML are handled. Accepted values: "Ignore" (default, silently skips DTD processing, safe for most cases), "Prohibit" (throws on any DTD declaration), "Parse" (enables full DTD processing including entity expansion, use with caution).</param>
232
232
<param name='UseOriginalNames'>When true, XML element and attribute names are used as-is for generated property names instead of being normalized to PascalCase. Defaults to false.</param>"""
0 commit comments