0

Trying ( tried both &#xD &#xA ) to add carriage return before <gadget> and after</gadget>. ( XML code )

But I'm getting an error message :

Schema validation failed at line 40 and column 35 with message:cvc-complex-type.2.3: Element 'gadgets' cannot have character [children], because the type's content type is element-only.

 &#xD<gadget>https://localhost:8444/cuic/gadget/LiveData/LiveDataGadget.jsp?gadgetHeight=420&viewId=5D411E8A10000140000000230A4E5E6B&filterId=AgentStateDetailStats.agentID=loginId</gadget>&#xD
kjhughes
  • 106,133
  • 27
  • 181
  • 240
  • XML does use same special characters as htlm. See wsiki : https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references – jdweng Jun 20 '17 at 21:34
  • Here, I tried with only hitting the enter key and tried to save the code and it worked. – Nishant Jun 20 '17 at 21:57
  • See duplicate link. Also, you do realize that character entities ( ` ` and ` `) must end with a semicolon, right? – kjhughes Jun 20 '17 at 23:30
  • I am not a coder here but a Network Collboration Engineer, as fix to a problem one of my server had these changes to be made. Actually did try with that as well. Same error message shows up. – Nishant Jun 21 '17 at 05:44

0 Answers0