RE: content of <appinfo>

> Hello,
>
> 	My problem is that I wanted to use markup for parsing convenience in
> the appinfo element to pass some information to an application.  For
> example:
>
> <element name="someField" type="string">
> 	<annotation><appinfo>
> 		<tableName>nameOfATable</tableName>
> 	</appinfo></annotation>
> </element>
>
> I was assuming that a schema validator wouldn't process the contents of
> appinfo.
> XMLSpy flags tableName as undefined.  I am confused as to exactly what
> the specifications say.

<appinfo> is set to lax processing, which means it should be validated only
if a schema is available. I would send a bug report to XMLSpy.

BTW, I did a presentation on this stuff at XML2000. You can download the
presentation and samples at
http://www.freeframework.org/downloads/xml/schemaext.zip.

David Cleary
Progress Software

Received on Tuesday, 2 January 2001 16:43:33 UTC