[standards-jig] NEW: vcard-temp (JEP-0054)

Alexey Shchepin alexey at sevcom.net
Fri Nov 1 18:39:43 UTC 2002


Hello, Peter!

On Thu, 31 Oct 2002 23:08:11 -0600 (CST), you said:

 PS> I've written an informational JEP that documents the existing "vcard-temp"
 PS> namespace. Feedback and corrections welcome.

 PS> http://www.jabber.org/jeps/jep-0054.html

Example 2:

	...
	<TEL><VOICE/><WORK/>303-308-3282</TEL>
	<TEL><FAX/><WORK/></TEL>
	<TEL><MSG/><WORK/></TEL>
	...
        <EMAIL><INTERNET/><PREF/>stpeter at jabber.org</EMAIL>
        ...

And some parts of DTD:

	<!ELEMENT TEL (
	    HOME?, 
	    WORK?, 
	    VOICE?, 
	    FAX?, 
	    PAGER?, 
	    MSG?, 
	    CELL?, 
	    VIDEO?, 
	    BBS?, 
	    MODEM?, 
	    ISDN?, 
	    PCS?, 
	    PREF?, 
	    NUMBER
	  )>
	
	<!-- Phone number value. -->
	<!ELEMENT NUMBER (#PCDATA)>

	<!-- Email address property. Default type is INTERNET. -->
	<!ELEMENT EMAIL (
	    HOME?, 
	    WORK?, 
	    INTERNET?, 
	    X400?, 
	    USERID
	  )>
	
	<!ELEMENT USERID (#PCDATA)>


So IMHO ex. 2 must look like this:

	...
	<TEL><VOICE/><WORK/><NUMBER>303-308-3282</NUMBER></TEL>
	<TEL><FAX/><WORK/><NUMBER/></TEL>
	<TEL><MSG/><WORK/><NUMBER>or some number must be here?</NUMBER></TEL>
	...
        <EMAIL><INTERNET/><PREF/><USERID>stpeter at jabber.org</USERID></EMAIL>
        ...

And the same for EMAIL in ex.4.



More information about the Standards mailing list