eclipse-sourceediting / sourceediting

Code repository for the Eclipse Web Tools Platform's Source Editing project
Eclipse Public License 2.0
6 stars 6 forks source link

Remove "(Illformed)" from label #10

Open andrew-tram opened 4 months ago

andrew-tram commented 4 months ago

https://github.com/eclipse-sourceediting/sourceediting/issues/9

nitind commented 4 months ago

The JSON plug-ins are a copy of the XML plug-ins reworked for JSON, but not quite to the same level of polish by the original author. "Ill-formed" in that context applies to the rules of XML where a proper XML file is both Well-formed (syntactically) and Valid (complies with its stated DTD/Schema). The Platform actually supplies the XML content type, but for files that are syntactically broken, ours has a better chance of making sense of it. Ergo, the ill-formed content type, and the string for its human-readable name.

I don't know that we need the JSON ill-formed content type and associated strings, but we're not removing the one for XML.