Hi, This is an expected behaviour of XML3D because of the CORS (Cross-Origin Ressource Sharing) handling in browsers. The browser refuses to access other local files referenced from a local HTML page because of security reasons. This can only be dealt with by going through a Web browser, where the browser adds the necessary HTML CORS-headers (which impossible with local files). Just to clear: The installation manual never suggests to locally copy and run the examples. And this behaviour is documented for XML3D. But we will check again and may make sure this more prominently visible in the installation manual to avoid similar user errors in the future. BTW, this still is ticket HELP-1003 right now. Best, Philipp Am 04.11.2014 um 10:17 schrieb Fi-ware ULPGC: > Description: > > When we git clone the examples repository indicated above and run locally > the page ‘suzanne.html’, the model isn’t loaded and we receive the error > "Could not load external document > 'file:/C:/Users/Alejandro/Desktop/TaskForce/3D-UI-XML3D/xml3d-examples/examples/suzanne/./suzanne.json': > 0 - ". > > This happens with any example we try to test locally. The expected output > can be seen in the image XML3D_doesn’t_load_json_resources_1.png, as it is > ran from the online demo page. The error can be seen in the image > XML3D_doesn’t_load_json_resources_2.png. > > > Link: > http://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/3D-UI_-_XML3D_-_User_and_Programmers_Guide > > Web Browser: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:33.0) Gecko/20100101 > Firefox/33.0 > GitHub repository: https://github.com/xml3d/xml3d-examples > Online Demo: > http://xml3d.github.io/xml3d-examples/examples/suzanne/suzanne.html > > > > _______________________________________________ > Fiware-tech-help mailing list > Fiware-tech-help at lists.fi-ware.org > https://lists.fi-ware.org/listinfo/fiware-tech-help > -- ------------------------------------------------------------------------- Deutsches Forschungszentrum für Künstliche Intelligenz (DFKI) GmbH Trippstadter Strasse 122, D-67663 Kaiserslautern Geschäftsführung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter Olthoff Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes Sitz der Gesellschaft: Kaiserslautern (HRB 2313) USt-Id.Nr.: DE 148646973, Steuernummer: 19/673/0060/3 --------------------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: philipp_slusallek.vcf Type: text/x-vcard Size: 441 bytes Desc: not available URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141104/c91922c7/attachment.vcf>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy