From: Richard A. <ra...@st...> - 2009-02-14 23:04:01
|
Hi all, Just wondering, it is possible to add <xsd:annotation><xsd:appinfo> elements into a schema for tool-specific customization of schema processing. Is this tolerable in the sed-ml schema, or would it clutter up the schema too much? Just wondered as Dagmar's last change ( to add the notes/annotation elements) causes a namespace conflict to the JAXB schema parser with the elements of the same name defined in sbml-mathml. One way round this is to add this jaxb specific annotations in the .xsd file to produce classes with different names. An alternative is to specify instructions in a separate 'binding' file, this would be ideal but I've not got it to work yet. Basically it would add: <xs:annotation> <xs:appinfo> <jxb:class name="SedMLNotes"> </jxb:class> </xs:appinfo> </xs:annotation> into the 'notes' definition and similarly into the 'annotation' definition. I have a feeling that this will be frowned upon but I just wanted to make sure before ruling it out :) Thanks Richard -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. |