1

"PCDATA invalid Char value 2" error in XML file I generate using chrome. I would like to fix it, however I don't understand what "Char value 2" is. Is there some sort of list of Char values in XMLs that are not supported, so I can view them and fix this issue.

I am using Saxy parser in Elixir.

I reviewed that thread: PHP generated XML shows invalid Char value 27 message but it didn't help me

Hoggie
  • 174
  • 3
  • 12

1 Answers1

-1

If you have any special character in XML file, that must be encapsulated with <![CDATA[<special chracter]]> atleast.

Desh
  • 175
  • 2
  • 10
  • sorry, the code part couldn't print. Pls check once again if it helps – Desh Jun 01 '20 at 13:51
  • Please see the linked question; U+0002 isn't permitted in an XML 1.0 document, encoded or otherwise. – Joe Jun 02 '20 at 00:31