[OTDev] Broken API XML schemas on the new opentox site

Nina Jeliazkova nina at acad.bg
Mon Aug 31 14:11:14 CEST 2009


Dear Micha,

Micha Rautenberg wrote:
> Dear Nina and All,
>
> Yes some of the links are broken. I will have a look at it this afternoon.
>   
Thank you.
> If anyone misses contents, find broken links or anything else please let 
> me or Barry know.
>
> The schema downloads is a bit different to the old pages. It shows text 
> or html based documents (like XML files) direct on the page. To download 
> these files you will find a download link at the top of this page right 
> under the headline.
>   
The problem is the content shown is NOT of the schema, but come HTML
content, perhaps of the old site.



The download link doesn't work either, upon downloading again HTML
content is shown.



A XSD schema should instead look like this (e.g. for Reference object)

    <?xml version="1.0" encoding="UTF-8"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.opentox.org/Reference/1.0"
        xmlns:tns="http://www.opentox.org/Reference/1.0"
    elementFormDefault="qualified">

        <complexType name="Reference">
            <attribute name="ID" type="string"  use="required"></attribute>
            <attribute name="Name" type="string" 
    use="required"></attribute>
            <attribute name="AlgorithmID" type="string" 
    use="optional"></attribute>
            <attribute name="Parameters" type="string"
    use="optional"></attribute>
            <attribute name="ExperimentalProtocol" type="string"
    use="optional"></attribute>
        </complexType>

    </schema>


Regards,
Nina
> best,
>
> Micha
>
>
>
>
> Nina Jeliazkova schrieb:
>   
>> Dear All,
>>
>> We've noticed all the links from API to XML schema definitions are
>> broken on the new OpenTox site site. 
>>
>> For example the link to feature definition schema
>> http://www.opentox.org/documents/show/110  from
>> http://www.opentox.org/dev/apis/feature page leads to nonexistent page.
>>  
>> It seems all schema files have been moved to a new location :
>> http://www.opentox.org/dev/documents/xmlschemadocs , but the links from
>> the API definition pages have not been updated. 
>>
>> Moreover, when trying to view or download schema xsd or example xml
>> files from the links below, html files are retrieved instead.  Wrong
>> files are listed below (html instead of xsd):
>>
>> http://www.opentox.org/data/documents/development/xmlschema/Model.xsd/view
>> http://www.opentox.org/data/documents/development/xmlschema/Feature.xsd/view
>> http://www.opentox.org/data/documents/development/xmlschema/Reference.xsd/view
>> http://www.opentox.org/data/documents/development/xmlschema/FeatureDefinition.xsd/view
>> http://www.opentox.org/data/documents/development/xmlschema/xml-schema-definition-for-algorithm-object
>> http://www.opentox.org/data/documents/development/xmlschema/examplefiledataxml/view
>> http://www.opentox.org/data/documents/development/xmlschema/datasetxsd/view
>> http://www.opentox.org/data/documents/development/xmlschema/datasetsxsd/view
>>
>>
>> Could the webmaster please fix the links and files?  It is crucial to
>> have API definition in a good shape , both for implementation, testing
>> and discussion  at the Rome meeting (internal and external to the project).
>>
>>
>> Best regards,
>> Nina
>>
>> P.S. I am not sure who has write access to API pages currently, it seems
>> at least for me the pages are read only.
>> _______________________________________________
>> Development mailing list
>> Development at opentox.org
>> http://www.opentox.org/mailman/listinfo/development
>>
>>   
>>     
>
> _______________________________________________
> Development mailing list
> Development at opentox.org
> http://www.opentox.org/mailman/listinfo/development
>   




More information about the Development mailing list