Is <92FB64J> an invalid XMLtag?

System.Xml.XmlException: The name cannot begin with the character "9", the hexadecimal value 0x39

This is because tags cannot start with numbers, or is it due to xml encoding

+4
source share
3 answers

Yes, element names cannot begin with a number .

+7
source

"XML element names cannot begin with a number character or punctuation."

A source

+3
source

They cannot begin with numbers (or the string "xml", for future reference).

In addition, you should avoid the following characters:

 . - : 

In the names.

+1
source

Source: https://habr.com/ru/post/1333035/


All Articles