Re: content of <appinfo>

Vincent,

The content of <appinfo> can be any element you like from any namespace, so
your example is just fine. You might like to put your elements in a seperate
namespace from the XML Schema language itself.

XMLSpy currently has problems with <appinfo> and <documentation> and
complains about any child element but I'm sure these problems will be fixed
in a future release.

Martin Gudgin
DevelopMentor

----- Original Message -----
From: "Vincent Buonomano" <vincent@correionet.com.br>
To: <xmlschema-dev@w3.org>
Sent: Tuesday, January 02, 2001 9:11 PM
Subject: 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.
>
> The schema is being used by the application to construct XML from a
> relational data base.
>
> Any help would be greatly appreciated.
>
> Thank you
> Vincent Buonomano
>
> --
> Prof. Vincent Buonomano
> E-Mail: vincent@correionet.com.br
> Tel.:(19)3252-9877, 9792-6583
> Fax: (19) 3252-6847
> Home Page: www.correionet.com.br/~vincent

Received on Tuesday, 2 January 2001 16:38:24 UTC