Thursday, February 16, 2012

<annotation> element not retained in schema collection! Why?

The <annotation> element is not retained in the schema collection.

Why?

I was counting on this to use the <appinfo> element to help customize my system.

The intent was to use the schema to store information on how my system would process customized data. There are other solutions but this makes the most sense. Storing processing information with the data structure definition.

This is such a simple element and part of the standard why wasn't it included?

Thanks

Bill

Dear Bill

The XML Schema collection is a collection of the schema validation relevant information in the database meta data. That information gets shredded into some internal data structures and is not kept in its orginial form. As a consequence, annotations etc are being thrown away. We currently recommend to store the schemas in an XML data type column if you really want to preserve that information.

We are looking into whether we will provide such information in the next release.

Thanks

Michael

|||Thanks for the explanation and quick response

No comments:

Post a Comment