Why can't an xml comment contain two hyphens
https://softwareengineering.stackexchange.com/questions/198481
Pergunta
I was applying markdown comments in the xml comments of a config file when the XmlParser reported that two hyphens (--
) are not allowed in xml comments.
Checking the XML Specification, it appears that xml comment isn't designed to contain two hyphens for compatibility reasons with SGML parsers.
Why do SGML parsers disallow double hyphens in comments?
Nenhuma solução correta
Licenciado em: CC-BY-SA com atribuição
Não afiliado a softwareengineering.stackexchange