[JDEV] client "proposal" addendum

belg4mit at MIT.EDU belg4mit at MIT.EDU
Sat Sep 11 20:48:45 CDT 1999


In reply to your message from the not too distant future: next Sunday AD
Reply-to: belg4mit at mit.edu
Return-receipt-to: belg4mit at mit.edu
Organization: a) Discordia b) none c) what's that?
Content-Typo: gibberish, charset=ascii-art
Date: Sat, 11 Sep 1999 21:48:45 EDT
From: Jerrad Pierce <belg4mit>

okay, so what if it's an xml chunk and is JUST server name, username, and
password (all optional)?

I'm not terribly familiar with XML, but here's a crack at the corresponding DTD?

<!DOCTYPE JabberConf [
	<!ELEMENT JabberConf (Server, Username, Password)?>
	<!ELEMENT Server (#PCDATA) "jabber.org">
	<!-- can elements have a default? -->
	<!ELEMENT Username (#PCDATA)>
	<!ELEMENT Password (#PCDATA)>
]>

<?xml version="1.0" ?>
<JabberConf>
	<Server>jabber.org</Server>
	<Username>bob</Username>
	<Password>word</Password>
</JabberConf>
--
Please take the time to answer the simple survey at:
                                        http://pthbb.org/ideas/survey/breakup/
                                                  *             __    *      .
           \     |     /           .        . .           .  . ((_
               _____                       .                         .     .
          --  /     \  --           .        .      .   +    .   .     _/\
      oooooooooo.   |               * .       .   .           *       / ;M\_ .
   .oooooooooooo.oo.                  .  .    .       . /\    .      /  :IMM\
  ..oooooooooooo..oo.   Jerrad Pierce              /\  /  \         /   ;IIWMM
  ..oooooooooo.......   209 North Street     +    /  \ /  \  .     /   ;IIIIWM
  ...ooooooooo.......   Randolph, MA 02368        /  \     \  ___/   :;IIIIIWM
  ....ooo....o.......                            /    \    \ /  ::     ;;IIIMI
   .....ooo.........    http://www.pthbb.org     /    \     \   :     :::;IIIM
     ..ooooooo....      __________________________ ||   ||       ::.....::::::
MOTD on Prickle-Prickle, the 35th of Bureaucracy, in the YOLD 3165:

Freedom is just a hallucination created by a pathological lack of paranoia.




More information about the JDev mailing list