My xml files with activity descriptions and resources are not being rendered properly. For example, for the code below, the Reload player displays it as is (with tags and all) whereas coppercore WebPlayer displays only the text inside plain html tags. WHat am I missing?
Thanks.
Cesar
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns:ld="http://www.imsglobal.org/xsd/imsld_v1p0" xmlns="http://www.w3.org/1999/xhtml">
<head>
<link type="text/css" rel="stylesheet" href="unfold.css"/>
<title>Make your composition</title>
</head>
<body>
<div class="make-composition-A-incomplete">
<p>Please write your composition here. </p>
<ld:set-property ref="prop-22cb7ada-9e7a-8ed5-e6ac-125094b9b47f"/>
</div>
<div class="make-composition-A-complete">
<p>You entered the following composition:</p>
<ld:view-property ref="prop-22cb7ada-9e7a-8ed5-e6ac-125094b9b47f" property-of="self" view="value"/>
</div>
</body>
</html>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
this is because you are using XML files. Browser determine how they display XML files without stylesheets attached. IE will display the XML tags, while FF displays the text without the tags. If your files contain IMS LD global content, the resource should have the attribute type set to 'imsldcontent' for Coppercore to recognise it as global content and render it correctly.
If your files do not contain IMS LD global content, and are created as XML files, you have to specify an XSLT stylesheet to render them, or alternatively specify them as 'imsldcontent' and let Coppercore do the rendering for your.
Reload is an Eclipse application and Eclipse uses IE as browser, while I assume that you are using Firefox when you use Coppercore.
Francis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks again for your support. I'll make my comments below:
"If your files contain IMS LD global content, the resource should have the attribute type set to 'imsldcontent' for Coppercore to recognise it as global content and render it correctly."
I had noticed that before and changed the type of all resources from 'webcontent' (the default in Reload) to 'imsldcontent'. But the result was that both coppercore WebPlayer and Reload player failed to validate the manifest after this change. And once changed back to 'webcontent', everything went ok (but for the rendering...)
Cesar
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello CESAR I have the same problem as you .
my xml files the Reload player displays it as is (with tags and all)
saw can you help me please what I can do .
thank you .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We have the same problem. We change 'webcontent' to 'imsldcontent' and now we can see the content of xml but if our xml is a formular we are unable to fill it. Any suggestions welcome:)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry I ment a form (a page where you can input some text). Have You seen "What is greateness?" example. There is an activity there where you have to enter your initial thoughts. In our case we can see only instruction and no input field.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had a similar problem. The resources were shown in the webplayer as XML files. I tried to set the resource type to imsldcontent in the Reload editor. But when I set the resource type in Reload, then clicked save and then refreshed the resources, the type would jump back to webcontent. Eventually I found out that the problem was caused by spaces in the filenames of my resources. After I removed all spaces from the filenames the resources were rendered correctly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi again,
My xml files with activity descriptions and resources are not being rendered properly. For example, for the code below, the Reload player displays it as is (with tags and all) whereas coppercore WebPlayer displays only the text inside plain html tags. WHat am I missing?
Thanks.
Cesar
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns:ld="http://www.imsglobal.org/xsd/imsld_v1p0" xmlns="http://www.w3.org/1999/xhtml">
<head>
<link type="text/css" rel="stylesheet" href="unfold.css"/>
<title>Make your composition</title>
</head>
<body>
<div class="make-composition-A-incomplete">
<p>Please write your composition here. </p>
<ld:set-property ref="prop-22cb7ada-9e7a-8ed5-e6ac-125094b9b47f"/>
</div>
<div class="make-composition-A-complete">
<p>You entered the following composition:</p>
<ld:view-property ref="prop-22cb7ada-9e7a-8ed5-e6ac-125094b9b47f" property-of="self" view="value"/>
</div>
</body>
</html>
Cesar,
this is because you are using XML files. Browser determine how they display XML files without stylesheets attached. IE will display the XML tags, while FF displays the text without the tags. If your files contain IMS LD global content, the resource should have the attribute type set to 'imsldcontent' for Coppercore to recognise it as global content and render it correctly.
If your files do not contain IMS LD global content, and are created as XML files, you have to specify an XSLT stylesheet to render them, or alternatively specify them as 'imsldcontent' and let Coppercore do the rendering for your.
Reload is an Eclipse application and Eclipse uses IE as browser, while I assume that you are using Firefox when you use Coppercore.
Francis
Hi Francis,
Thanks again for your support. I'll make my comments below:
"If your files contain IMS LD global content, the resource should have the attribute type set to 'imsldcontent' for Coppercore to recognise it as global content and render it correctly."
I had noticed that before and changed the type of all resources from 'webcontent' (the default in Reload) to 'imsldcontent'. But the result was that both coppercore WebPlayer and Reload player failed to validate the manifest after this change. And once changed back to 'webcontent', everything went ok (but for the rendering...)
Cesar
Hello Cesar,
what was the error message when Coppercore failed to validate the manifest?
Could you send some screenshots or maybe the ZIP file?
What version of CCRT are you using?
There are some known problems with the Reload LD Player. Which version did you install? Please try the Reload LD Player that comes with Java bundled.
Francis
hello CESAR I have the same problem as you .
my xml files the Reload player displays it as is (with tags and all)
saw can you help me please what I can do .
thank you .
We have the same problem. We change 'webcontent' to 'imsldcontent' and now we can see the content of xml but if our xml is a formular we are unable to fill it. Any suggestions welcome:)
Hi,
if you want to handle formuls on a webpage, you probably have to use MathML. However to render MathML you have to supply your own xslt stylesheet.
Sorry I ment a form (a page where you can input some text). Have You seen "What is greateness?" example. There is an activity there where you have to enter your initial thoughts. In our case we can see only instruction and no input field.
I had a similar problem. The resources were shown in the webplayer as XML files. I tried to set the resource type to imsldcontent in the Reload editor. But when I set the resource type in Reload, then clicked save and then refreshed the resources, the type would jump back to webcontent. Eventually I found out that the problem was caused by spaces in the filenames of my resources. After I removed all spaces from the filenames the resources were rendered correctly.