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
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev

-- 
Thomas Muldowney
email/jabber: [EMAIL PROTECTED]

Attachment: msg03903/pgp00000.pgp
Description: PGP signature

Reply via email to