b Brian
on

 

Hi,

I received a define.xml from a vendor, which was produced by the Pinnacle Enterprise tool.  I noticed that some of the TranslatedText elements contain microsoft curly quotes (0x92). Since this define's encoding is UTF-8, wouldn't these be invalid?  These display OK, because I assume explorer is using Windows-1252 and taking care of this for me.  I didn't get any issues in the define validator, or when I validated using the SAS XML mapper, but I think this could cause some problems down the line.  Agree?

  

 

Forums: Define.xml

j Jozef
on March 22, 2017

Microsoft curly quotes are often an issue when define.xml is generated from MS Word or Excel document. If they are used for limiting the attributes, that is definitely not valid XML. If they are within a text, the best way to find out is to validate the define.xml against the XML-Schema (also see the "XML Schema Validation White Paper" at: https://www.cdisc.org/standards/foundational/define-xml). Please take into account that the Pinnacle21 Validator does not use XML-Schema validation (as far as I could find out). Other define.xml validation tools on the market use XML-Schema validation as the first step.
Here is an interesting link with a lot of details: https://www.dwheeler.com/essays/quotes-in-html.html

Want a demo?

Let’s Talk.

We're eager to share and ready to listen.

Cookie Policy

Pinnacle 21 uses cookies to make our site easier for you to use. By continuing to use this website, you agree to our use of cookies. For more info visit our Privacy Policy.