James Lawson wrote:
> Sounds like this is something we should broadcast with a megaphone.
> There is probably nothing that would irk someone more than uploading a
> file and it not working.

or perhaps, if possible without too much effort, to detect XML files 
uploaded which don't have a document element of model in the CellML 1.0 
namespace and give the user an error and not accept the model?


Andre.

> 
> James
> 
> Tommy Yu wrote:
>> David Nickerson wrote:
>>> Hi,
>>>
>>> I just tried to load the attached model into the model repository to use 
>>> as an example with the graphing metadata specification but am having 
>>> some problems.
>>>
>>> Firstly, it didn't pick up some of the model metadata during the upload 
>>> process. At least there were some empty text boxes presented to me that 
>>> I would have expected to be filled with the metadata from the model. Not 
>>> sure if that is an error in the upload process or an error in my model 
>>> metadata? These boxes are still empty later when I got to the metadata 
>>> editor.
>>
>> Hi Andre,
>>
>> Your metadata is fine, it did get picked up.  However, the namespace is 
>> CellML 1.1 which the XSLT that generates the documentation (from the 
>> tmp-documentation namespace) do not support.  Ditto for CellML -> MathML 
>> XSLT.
>>
>> I see that it is just one file, so I changed it to 1.0 and repository thinks 
>> it's okay now.
>>
>> Kind Regards,
>> Tommy.
>>
>>> I managed to get it into the repository as 
>>> http://www.cellml.org/models/sine-approximations_version01 but it 
>>> doesn't really seem to work. The overview page just says: "error occurs 
>>> during transform. See error log" - can I see the error log somewhere or 
>>> is this just for the site admin to see? The view math tab gives and XML 
>>> parsing error - a bit strange since I can run simulations of the model 
>>> fine using my tool based on the CCGS and API and the code generation tab 
>>> works fine and gives me the expected C code.
>>>
>>> Anyone have any suggestions?
>>>
>>>
>>> Thanks,
>>> Andre.
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> cellml-discussion mailing list
>>> cellml-discussion@cellml.org
>>> http://www.cellml.org/mailman/listinfo/cellml-discussion
>> _______________________________________________
>> cellml-discussion mailing list
>> cellml-discussion@cellml.org
>> http://www.cellml.org/mailman/listinfo/cellml-discussion
> 
> _______________________________________________
> cellml-discussion mailing list
> cellml-discussion@cellml.org
> http://www.cellml.org/mailman/listinfo/cellml-discussion

-- 
David Nickerson, PhD
Research Fellow
Division of Bioengineering
Faculty of Engineering
National University of Singapore
Email: [EMAIL PROTECTED]
_______________________________________________
cellml-discussion mailing list
cellml-discussion@cellml.org
http://www.cellml.org/mailman/listinfo/cellml-discussion

Reply via email to