[JDEV] DTD or Schema for a (jabber:x:*) namespace?
Thomas Muldowney
temas at box5.net
Thu Jan 10 09:59:19 CST 2002
Schemas are very possible and being worked on now. Here's an example
one for jabber:iq:last
<schema
xmlns='http://www.w3.org/2001/XMLSchema'
xmlns:last='jabber:iq:last'
targetNamespace='jabber:iq:last'
elementFormDefault='qualified'>
<element name='last:query'>
<complexType mixed='true'>
<attribute name='seconds' type='unsignedLong' use='optional'/>
</complexType>
</element>
</schema>
I'm not a schema expert (yet ;-]) so this could be wrong, but I think
it's correct and it validates =)
--temas
On Thu, Jan 10, 2002 at 01:10:48PM +0100, Bernhard Pietsch wrote:
> All "extension" namespaces i found use a DTD. Is that necessary or is it
> possible to use XML Schema instead?
>
> thx, Bernhard Pietsch
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
--
Thomas Muldowney
email/jabber: temas at jabber.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20020110/d957c0e9/attachment-0002.pgp>
More information about the JDev
mailing list