Charatcter Entities - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Charatcter Entities

Last post 12-24-2012 10:52 AM by Jimmy. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-24-2012 09:41 AM

    Charatcter Entities

     Hi

    Is there anything special that needs to be done to allow infopath to use special characters in an xml document that I want to use as a secondary receive data connection (dropdown field). I get the error: "The form contains XML that cannot be parsed:Reference to undefined entity 'ndash'."

    I can't get some entities to work like ndash. Others do like & , < , and >. Are there only a select few that infopath will take? Thanks.

     

     

  • 12-24-2012 10:52 AM In reply to

    – isn't a predefined XML entity. XML only has 5 predefined entities:

    http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML

    Anything else has to be declared in a DTD, but I don't know if you can use a DTD with a secondary data source in InfoPath (somewhat doubtful).  You can certainly use a numeric character reference to represent any character you want. Based on the above Wikipedia page, it appears that ndash would be –

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.