W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2001

Re: content of <appinfo>

From: Martin Gudgin <marting@develop.com>
Date: Tue, 2 Jan 2001 21:37:21 -0000
Message-ID: <015101c07504$36ac89d0$0400a8c0@develop.com>
To: "Vincent Buonomano" <vincent@correionet.com.br>, <xmlschema-dev@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:19 GMT