AnsweredAssumed Answered

How can I validate the XML for my LTI connection?

Question asked by Dan Hammari on Nov 11, 2016
Latest reply on Nov 15, 2016 by Garth Egbert

I have been building an XML configuration document that will allow subscribers to automatically configure the LTI connection between Canvas and my content service. I am having difficulty getting my XML file to work in Canvas, however. I paste my XML into the form that creates a third-party app in Canvas and click submit. Canvas immediately displays the message "blank" as a popup error  (see attached). It would be nice if the message was helpful or could indicate why Canvas rejects my XML configuration. However, this may be beyond the scope of the LTI setup form. Is there a separate tool that I can use to validate and troubleshoot my XML configuration? I have used various XML lint services and verified that my configuration file conforms to XML standards and correctly references the required XML definitions. I have no idea why Canvas chokes on the file though. I have attached my LTI XML document in case you are curious. Below are the sites I have referenced while building my file. I would appreciate it if someone could point me to a place where I can fully validate my LTI XML configuration document and troubleshoot its issues to make it work with Canvas.

 

https://canvas.instructure.com/doc/api/file.tools_xml.html

https://www.imsglobal.org/specs/lti/xml

https://www.edu-apps.org/build_xml.html

http://www.xmlvalidation.com/index.php

Outcomes