[MOBY-dev] createInstanceFromDOM

gordonp at ucalgary.ca gordonp at ucalgary.ca
Wed Feb 13 01:03:23 UTC 2008


Hi Sylvie,

 If you send me the example XML, that will help me determine the issue. 
It should be able to parse the data, even if the datatypes are not in the
ontology.

Regards,

Paul

If you could send the example file to me, it would

> Hi,
>
> I would like to create a biomoby instance from a file that contains data.
>
> The data file is an XML file that comply (or should comply) with biomoby
> format.
> I thought that if the file contained a data type that is not a biomoby
> data type
> (doesn't belong to the object ontology), the createInstanceFromDOM method
> would
> throw an exception, but that is not the case. A NullPointerException is
> thrown
> by an inner method (MobyDatacomposite constructor).
>
> Should I use another method to check that the data type present in the
> data file
> is correct or is it a problem with createInstanceFromDOM that should throw
> an
> exception ?
>
> Thanks, and
> Best regards,
> Sylvie.
>
>
> !DSPAM:60005,47b1bec010950204642575!
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev
>
>
> !DSPAM:60005,47b1bec010950204642575!
>





More information about the MOBY-dev mailing list