Re-generate XMPP codec, decrease tests verbosity
This commit is contained in:
parent
62fb432e3e
commit
7fa9def24c
|
@ -251,7 +251,7 @@ dialyzer: plt
|
|||
--get_warnings -o dialyzer.log ebin
|
||||
|
||||
test:
|
||||
$(REBAR) -v skip_deps=true ct
|
||||
$(REBAR) skip_deps=true ct
|
||||
|
||||
.PHONY: src doc edoc dialyzer Makefile TAGS clean clean-rel distclean rel plt \
|
||||
install uninstall uninstall-binary uninstall-all translations deps test spec
|
||||
|
|
22913
tools/xmpp_codec.erl
22913
tools/xmpp_codec.erl
File diff suppressed because it is too large
Load Diff
|
@ -1,229 +1,406 @@
|
|||
%% Created automatically by XML generator (xml_gen.erl)
|
||||
%% Source: xmpp_codec.spec
|
||||
|
||||
-record(bind, {jid, resource}).
|
||||
|
||||
-record(block, {items = []}).
|
||||
|
||||
-record(block_list, {}).
|
||||
|
||||
-record(bookmark_conference,
|
||||
{name, jid, autojoin = false, nick, password}).
|
||||
|
||||
-record(bookmark_storage, {conference = [], url = []}).
|
||||
|
||||
-record(bookmark_url, {name, url}).
|
||||
|
||||
-record(bytestreams,
|
||||
{hosts = [], used, activate, dstaddr, mode = tcp, sid}).
|
||||
|
||||
-record(caps, {hash, node, ver}).
|
||||
|
||||
-record(compress, {methods = []}).
|
||||
|
||||
-record(compress_failure, {reason}).
|
||||
|
||||
-record(compressed, {}).
|
||||
|
||||
-record(compression, {methods = []}).
|
||||
|
||||
-record(delay, {stamp, from}).
|
||||
|
||||
-record(disco_info,
|
||||
{node, identity = [], feature = [], xdata = []}).
|
||||
|
||||
-record(disco_item, {jid, name, node}).
|
||||
|
||||
-record(disco_items, {node, items = []}).
|
||||
|
||||
-record(error, {type, by, reason, text}).
|
||||
|
||||
-record(feature_register, {}).
|
||||
|
||||
-record(gone, {uri}).
|
||||
-record(sasl_success, {text :: any()}).
|
||||
|
||||
-record(identity, {category, type, name}).
|
||||
|
||||
-record(iq,
|
||||
{id, type, lang, from, to, error, sub_els = []}).
|
||||
|
||||
-record(last, {seconds, text}).
|
||||
|
||||
-record(legacy_delay, {stamp, from}).
|
||||
|
||||
-record(message,
|
||||
{id, type = normal, lang, from, to, subject = [],
|
||||
body = [], thread, error, sub_els = []}).
|
||||
|
||||
-record(muc, {history, password}).
|
||||
|
||||
-record(muc_actor, {jid, nick}).
|
||||
|
||||
-record(muc_decline, {reason, from, to}).
|
||||
|
||||
-record(muc_history,
|
||||
{maxchars, maxstanzas, seconds, since}).
|
||||
|
||||
-record(muc_invite, {reason, from, to}).
|
||||
|
||||
-record(muc_item,
|
||||
{actor, continue, reason, affiliation, role, jid,
|
||||
nick}).
|
||||
|
||||
-record(muc_owner, {destroy, config}).
|
||||
|
||||
-record(muc_owner_destroy, {jid, reason, password}).
|
||||
|
||||
-record(muc_user,
|
||||
{decline, destroy, invites = [], items = [],
|
||||
status_codes = [], password}).
|
||||
|
||||
-record(muc_user_destroy, {reason, jid}).
|
||||
|
||||
-record(p1_ack, {}).
|
||||
|
||||
-record(p1_push, {}).
|
||||
|
||||
-record(p1_rebind, {}).
|
||||
-record(streamhost, {jid :: any(),
|
||||
host :: binary(),
|
||||
port = 1080 :: non_neg_integer()}).
|
||||
|
||||
-record(ping, {}).
|
||||
|
||||
-record(presence,
|
||||
{id, type, lang, from, to, show, status = [], priority,
|
||||
error, sub_els = []}).
|
||||
-record(delay, {stamp :: any(),
|
||||
from :: any()}).
|
||||
|
||||
-record(privacy, {lists = [], default, active}).
|
||||
-record(muc_history, {maxchars :: non_neg_integer(),
|
||||
maxstanzas :: non_neg_integer(),
|
||||
seconds :: non_neg_integer(),
|
||||
since :: any()}).
|
||||
|
||||
-record(privacy_item,
|
||||
{order, action, type, value, kinds = []}).
|
||||
-record(pubsub_affiliation, {node :: binary(),
|
||||
type :: 'member' | 'none' | 'outcast' | 'owner' | 'publish-only' | 'publisher'}).
|
||||
|
||||
-record(privacy_list, {name, items = []}).
|
||||
|
||||
-record(private, {sub_els = []}).
|
||||
|
||||
-record(pubsub,
|
||||
{subscriptions, affiliations, publish, subscribe}).
|
||||
|
||||
-record(pubsub_affiliation, {node, type}).
|
||||
|
||||
-record(pubsub_event, {items = []}).
|
||||
|
||||
-record(pubsub_event_item, {id, node, publisher}).
|
||||
|
||||
-record(pubsub_event_items,
|
||||
{node, retract = [], items = []}).
|
||||
|
||||
-record(pubsub_item, {id, sub_els = []}).
|
||||
|
||||
-record(pubsub_items,
|
||||
{node, max_items, subid, items = []}).
|
||||
|
||||
-record(pubsub_subscription, {jid, node, subid, type}).
|
||||
|
||||
-record(redirect, {uri}).
|
||||
|
||||
-record(register,
|
||||
{registered = false, remove = false, instructions,
|
||||
username, nick, password, name, first, last, email,
|
||||
address, city, state, zip, phone, url, date, misc, text,
|
||||
key}).
|
||||
|
||||
-record(roster, {items = [], ver}).
|
||||
|
||||
-record(roster_item,
|
||||
{jid, name, groups = [], subscription = none, ask}).
|
||||
|
||||
-record(sasl_abort, {}).
|
||||
|
||||
-record(sasl_auth, {mechanism, text}).
|
||||
|
||||
-record(sasl_challenge, {text}).
|
||||
|
||||
-record(sasl_failure, {reason, text = []}).
|
||||
|
||||
-record(sasl_mechanisms, {list = []}).
|
||||
|
||||
-record(sasl_response, {text}).
|
||||
|
||||
-record(sasl_success, {text}).
|
||||
|
||||
-record('see-other-host', {host}).
|
||||
|
||||
-record(session, {}).
|
||||
|
||||
-record(starttls, {required = false}).
|
||||
|
||||
-record(starttls_failure, {}).
|
||||
-record(muc_decline, {reason :: binary(),
|
||||
from :: any(),
|
||||
to :: any()}).
|
||||
|
||||
-record(starttls_proceed, {}).
|
||||
|
||||
-record(stat, {name, units, value, error = []}).
|
||||
-record(starttls_failure, {}).
|
||||
|
||||
-record(stats, {stat = []}).
|
||||
-record(sasl_challenge, {text :: any()}).
|
||||
|
||||
-record(stream_error, {reason, text}).
|
||||
-record(gone, {uri :: binary()}).
|
||||
|
||||
-record(stream_features, {sub_els = []}).
|
||||
-record(private, {sub_els = [] :: [any()]}).
|
||||
|
||||
-record(streamhost, {jid, host, port = 1080}).
|
||||
-record(p1_ack, {}).
|
||||
|
||||
-record(text, {lang, data}).
|
||||
-record(pubsub_item, {id :: binary(),
|
||||
sub_els = [] :: [any()]}).
|
||||
|
||||
-record(time, {tzo, utc}).
|
||||
-record(roster_item, {jid :: any(),
|
||||
name :: binary(),
|
||||
groups = [] :: [binary()],
|
||||
subscription = none :: 'both' | 'from' | 'none' | 'remove' | 'to',
|
||||
ask :: 'subscribe'}).
|
||||
|
||||
-record(unblock, {items = []}).
|
||||
-record(roster, {items = [] :: [#roster_item{}],
|
||||
ver :: binary()}).
|
||||
|
||||
-record(vcard,
|
||||
{version, fn, n, nickname, photo, bday, adr = [],
|
||||
label = [], tel = [], email = [], jabberid, mailer, tz,
|
||||
geo, title, role, logo, org, categories = [], note,
|
||||
prodid, agent, rev, sort_string, sound, uid, url, class,
|
||||
key, desc}).
|
||||
-record(pubsub_event_item, {id :: binary(),
|
||||
node :: binary(),
|
||||
publisher :: binary()}).
|
||||
|
||||
-record(vcard_adr,
|
||||
{home = false, work = false, postal = false,
|
||||
parcel = false, dom = false, intl = false, pref = false,
|
||||
pobox, extadd, street, locality, region, pcode, ctry}).
|
||||
-record(muc_actor, {jid :: any(),
|
||||
nick :: binary()}).
|
||||
|
||||
-record(vcard_agent, {vcard, extval}).
|
||||
-record(stat, {name :: binary(),
|
||||
units :: binary(),
|
||||
value :: binary(),
|
||||
error = [] :: [{integer(),binary()}]}).
|
||||
|
||||
-record(vcard_email,
|
||||
{home = false, work = false, internet = false,
|
||||
pref = false, x400 = false, userid}).
|
||||
-record('see-other-host', {host :: binary()}).
|
||||
|
||||
-record(vcard_geo, {lat, lon}).
|
||||
-record(compress, {methods = [] :: [binary()]}).
|
||||
|
||||
-record(vcard_key, {type, cred}).
|
||||
-record(starttls, {required = false :: boolean()}).
|
||||
|
||||
-record(vcard_label,
|
||||
{home = false, work = false, postal = false,
|
||||
parcel = false, dom = false, intl = false, pref = false,
|
||||
line = []}).
|
||||
-record(last, {seconds :: non_neg_integer(),
|
||||
text :: binary()}).
|
||||
|
||||
-record(vcard_logo, {type, binval, extval}).
|
||||
-record(pubsub_event_items, {node :: binary(),
|
||||
retract = [] :: [binary()],
|
||||
items = [] :: [#pubsub_event_item{}]}).
|
||||
|
||||
-record(vcard_name,
|
||||
{family, given, middle, prefix, suffix}).
|
||||
-record(pubsub_event, {items = [] :: [#pubsub_event_items{}]}).
|
||||
|
||||
-record(vcard_org, {name, units = []}).
|
||||
-record(redirect, {uri :: binary()}).
|
||||
|
||||
-record(vcard_photo, {type, binval, extval}).
|
||||
-record(sasl_response, {text :: any()}).
|
||||
|
||||
-record(vcard_sound, {phonetic, binval, extval}).
|
||||
-record(sasl_auth, {mechanism :: binary(),
|
||||
text :: any()}).
|
||||
|
||||
-record(vcard_tel,
|
||||
{home = false, work = false, voice = false, fax = false,
|
||||
pager = false, msg = false, cell = false, video = false,
|
||||
bbs = false, modem = false, isdn = false, pcs = false,
|
||||
pref = false, number}).
|
||||
-record(p1_push, {}).
|
||||
|
||||
-record(version,
|
||||
{version_name, version_ver, version_os}).
|
||||
-record(legacy_delay, {stamp :: binary(),
|
||||
from :: any()}).
|
||||
|
||||
-record(xdata,
|
||||
{type, instructions = [], title, reported, items = [],
|
||||
fields = []}).
|
||||
-record(muc_user_destroy, {reason :: binary(),
|
||||
jid :: any()}).
|
||||
|
||||
-record(xdata_field,
|
||||
{label, type, var, required = false, desc, values = [],
|
||||
options = []}).
|
||||
-record(disco_item, {jid :: any(),
|
||||
name :: binary(),
|
||||
node :: binary()}).
|
||||
|
||||
-record(disco_items, {node :: binary(),
|
||||
items = [] :: [#disco_item{}]}).
|
||||
|
||||
-record(unblock, {items = [] :: [any()]}).
|
||||
|
||||
-record(block, {items = [] :: [any()]}).
|
||||
|
||||
-record(session, {}).
|
||||
|
||||
-record(compression, {methods = [] :: [binary()]}).
|
||||
|
||||
-record(muc_owner_destroy, {jid :: any(),
|
||||
reason :: binary(),
|
||||
password :: binary()}).
|
||||
|
||||
-record(pubsub_subscription, {jid :: any(),
|
||||
node :: binary(),
|
||||
subid :: binary(),
|
||||
type :: 'none' | 'pending' | 'subscribed' | 'unconfigured'}).
|
||||
|
||||
-record(caps, {hash :: binary(),
|
||||
node :: binary(),
|
||||
ver :: any()}).
|
||||
|
||||
-record(muc, {history :: #muc_history{},
|
||||
password :: binary()}).
|
||||
|
||||
-record(stream_features, {sub_els = [] :: [any()]}).
|
||||
|
||||
-record(stats, {stat = [] :: [#stat{}]}).
|
||||
|
||||
-record(pubsub, {subscriptions :: {binary(),[#pubsub_subscription{}]},
|
||||
affiliations :: [#pubsub_affiliation{}],
|
||||
publish :: {binary(),[#pubsub_item{}]},
|
||||
subscribe :: {binary(),_}}).
|
||||
|
||||
-record(pubsub_items, {node :: binary(),
|
||||
max_items :: non_neg_integer(),
|
||||
subid :: binary(),
|
||||
items = [] :: [#pubsub_item{}]}).
|
||||
|
||||
-record(p1_rebind, {}).
|
||||
|
||||
-record(compress_failure, {reason :: 'processing-failed' | 'setup-failed' | 'unsupported-method'}).
|
||||
|
||||
-record(sasl_abort, {}).
|
||||
|
||||
-record(vcard_email, {home = false :: boolean(),
|
||||
work = false :: boolean(),
|
||||
internet = false :: boolean(),
|
||||
pref = false :: boolean(),
|
||||
x400 = false :: boolean(),
|
||||
userid :: binary()}).
|
||||
|
||||
-record(text, {lang :: binary(),
|
||||
data :: binary()}).
|
||||
|
||||
-record(vcard_geo, {lat :: binary(),
|
||||
lon :: binary()}).
|
||||
|
||||
-record(compressed, {}).
|
||||
|
||||
-record(sasl_failure, {reason :: 'aborted' | 'account-disabled' | 'credentials-expired' | 'encryption-required' | 'incorrect-encoding' | 'invalid-authzid' | 'invalid-mechanism' | 'malformed-request' | 'mechanism-too-weak' | 'not-authorized' | 'temporary-auth-failure',
|
||||
text = [] :: [#text{}]}).
|
||||
|
||||
-record(block_list, {}).
|
||||
|
||||
-record(xdata_field, {label :: binary(),
|
||||
type :: 'boolean' | 'fixed' | 'hidden' | 'jid-multi' | 'jid-single' | 'list-multi' | 'list-single' | 'text-multi' | 'text-private' | 'text-single',
|
||||
var :: binary(),
|
||||
required = false :: boolean(),
|
||||
desc :: binary(),
|
||||
values = [] :: [binary()],
|
||||
options = [] :: [binary()]}).
|
||||
|
||||
-record(version, {version_name :: binary(),
|
||||
version_ver :: binary(),
|
||||
version_os :: binary()}).
|
||||
|
||||
-record(muc_invite, {reason :: binary(),
|
||||
from :: any(),
|
||||
to :: any()}).
|
||||
|
||||
-record(bind, {jid :: any(),
|
||||
resource :: any()}).
|
||||
|
||||
-record(muc_item, {actor :: #muc_actor{},
|
||||
continue :: binary(),
|
||||
reason :: binary(),
|
||||
affiliation :: 'admin' | 'member' | 'none' | 'outcast' | 'owner',
|
||||
role :: 'moderator' | 'none' | 'participant' | 'visitor',
|
||||
jid :: any(),
|
||||
nick :: binary()}).
|
||||
|
||||
-record(muc_user, {decline :: #muc_decline{},
|
||||
destroy :: #muc_user_destroy{},
|
||||
invites = [] :: [#muc_invite{}],
|
||||
items = [] :: [#muc_item{}],
|
||||
status_codes = [] :: [pos_integer()],
|
||||
password :: binary()}).
|
||||
|
||||
-record(bytestreams, {hosts = [] :: [#streamhost{}],
|
||||
used :: any(),
|
||||
activate :: any(),
|
||||
dstaddr :: binary(),
|
||||
mode = tcp :: 'tcp' | 'udp',
|
||||
sid :: binary()}).
|
||||
|
||||
-record(vcard_org, {name :: binary(),
|
||||
units = [] :: [binary()]}).
|
||||
|
||||
-record(vcard_tel, {home = false :: boolean(),
|
||||
work = false :: boolean(),
|
||||
voice = false :: boolean(),
|
||||
fax = false :: boolean(),
|
||||
pager = false :: boolean(),
|
||||
msg = false :: boolean(),
|
||||
cell = false :: boolean(),
|
||||
video = false :: boolean(),
|
||||
bbs = false :: boolean(),
|
||||
modem = false :: boolean(),
|
||||
isdn = false :: boolean(),
|
||||
pcs = false :: boolean(),
|
||||
pref = false :: boolean(),
|
||||
number :: binary()}).
|
||||
|
||||
-record(vcard_key, {type :: binary(),
|
||||
cred :: binary()}).
|
||||
|
||||
-record(vcard_name, {family :: binary(),
|
||||
given :: binary(),
|
||||
middle :: binary(),
|
||||
prefix :: binary(),
|
||||
suffix :: binary()}).
|
||||
|
||||
-record(identity, {category :: binary(),
|
||||
type :: binary(),
|
||||
name :: binary()}).
|
||||
|
||||
-record(bookmark_conference, {name :: binary(),
|
||||
jid :: any(),
|
||||
autojoin = false :: any(),
|
||||
nick :: binary(),
|
||||
password :: binary()}).
|
||||
|
||||
-record(register, {registered = false :: boolean(),
|
||||
remove = false :: boolean(),
|
||||
instructions :: binary(),
|
||||
username :: binary(),
|
||||
nick :: binary(),
|
||||
password :: binary(),
|
||||
name :: binary(),
|
||||
first :: binary(),
|
||||
last :: binary(),
|
||||
email :: binary(),
|
||||
address :: binary(),
|
||||
city :: binary(),
|
||||
state :: binary(),
|
||||
zip :: binary(),
|
||||
phone :: binary(),
|
||||
url :: binary(),
|
||||
date :: binary(),
|
||||
misc :: binary(),
|
||||
text :: binary(),
|
||||
key :: binary()}).
|
||||
|
||||
-record(bookmark_url, {name :: binary(),
|
||||
url :: binary()}).
|
||||
|
||||
-record(bookmark_storage, {conference = [] :: [#bookmark_conference{}],
|
||||
url = [] :: [#bookmark_url{}]}).
|
||||
|
||||
-record(vcard_sound, {phonetic :: binary(),
|
||||
binval :: any(),
|
||||
extval :: binary()}).
|
||||
|
||||
-record(vcard_photo, {type :: binary(),
|
||||
binval :: any(),
|
||||
extval :: binary()}).
|
||||
|
||||
-record(vcard_label, {home = false :: boolean(),
|
||||
work = false :: boolean(),
|
||||
postal = false :: boolean(),
|
||||
parcel = false :: boolean(),
|
||||
dom = false :: boolean(),
|
||||
intl = false :: boolean(),
|
||||
pref = false :: boolean(),
|
||||
line = [] :: [binary()]}).
|
||||
|
||||
-record(vcard_adr, {home = false :: boolean(),
|
||||
work = false :: boolean(),
|
||||
postal = false :: boolean(),
|
||||
parcel = false :: boolean(),
|
||||
dom = false :: boolean(),
|
||||
intl = false :: boolean(),
|
||||
pref = false :: boolean(),
|
||||
pobox :: binary(),
|
||||
extadd :: binary(),
|
||||
street :: binary(),
|
||||
locality :: binary(),
|
||||
region :: binary(),
|
||||
pcode :: binary(),
|
||||
ctry :: binary()}).
|
||||
|
||||
-record(xdata, {type :: 'cancel' | 'form' | 'result' | 'submit',
|
||||
instructions = [] :: [binary()],
|
||||
title :: binary(),
|
||||
reported :: [#xdata_field{}],
|
||||
items = [] :: [[#xdata_field{}]],
|
||||
fields = [] :: [#xdata_field{}]}).
|
||||
|
||||
-record(muc_owner, {destroy :: #muc_owner_destroy{},
|
||||
config :: #xdata{}}).
|
||||
|
||||
-record(disco_info, {node :: binary(),
|
||||
identity = [] :: [#identity{}],
|
||||
feature = [] :: [binary()],
|
||||
xdata = [] :: [#xdata{}]}).
|
||||
|
||||
-record(sasl_mechanisms, {list = [] :: [binary()]}).
|
||||
|
||||
-record(error, {type :: 'auth' | 'cancel' | 'continue' | 'modify' | 'wait',
|
||||
by :: binary(),
|
||||
reason :: atom() | #gone{} | #redirect{},
|
||||
text :: #text{}}).
|
||||
|
||||
-record(presence, {id :: binary(),
|
||||
type :: 'error' | 'probe' | 'subscribe' | 'subscribed' | 'unavailable' | 'unsubscribe' | 'unsubscribed',
|
||||
lang :: binary(),
|
||||
from :: any(),
|
||||
to :: any(),
|
||||
show :: 'away' | 'chat' | 'dnd' | 'xa',
|
||||
status = [] :: [#text{}],
|
||||
priority :: integer(),
|
||||
error :: #error{},
|
||||
sub_els = [] :: [any()]}).
|
||||
|
||||
-record(message, {id :: binary(),
|
||||
type = normal :: 'chat' | 'error' | 'groupchat' | 'headline' | 'normal',
|
||||
lang :: binary(),
|
||||
from :: any(),
|
||||
to :: any(),
|
||||
subject = [] :: [#text{}],
|
||||
body = [] :: [#text{}],
|
||||
thread :: binary(),
|
||||
error :: #error{},
|
||||
sub_els = [] :: [any()]}).
|
||||
|
||||
-record(iq, {id :: binary(),
|
||||
type :: 'error' | 'get' | 'result' | 'set',
|
||||
lang :: binary(),
|
||||
from :: any(),
|
||||
to :: any(),
|
||||
error :: #error{},
|
||||
sub_els = [] :: [any()]}).
|
||||
|
||||
-record(privacy_item, {order :: non_neg_integer(),
|
||||
action :: 'allow' | 'deny',
|
||||
type :: 'group' | 'jid' | 'subscription',
|
||||
value :: binary(),
|
||||
kinds = [] :: ['iq' | 'message' | 'presence-in' | 'presence-out']}).
|
||||
|
||||
-record(privacy_list, {name :: binary(),
|
||||
items = [] :: [#privacy_item{}]}).
|
||||
|
||||
-record(privacy, {lists = [] :: [#privacy_list{}],
|
||||
default :: binary(),
|
||||
active :: binary()}).
|
||||
|
||||
-record(stream_error, {reason :: atom() | #'see-other-host'{},
|
||||
text :: #text{}}).
|
||||
|
||||
-record(vcard_logo, {type :: binary(),
|
||||
binval :: any(),
|
||||
extval :: binary()}).
|
||||
|
||||
-record(vcard, {version :: binary(),
|
||||
fn :: binary(),
|
||||
n :: #vcard_name{},
|
||||
nickname :: binary(),
|
||||
photo :: #vcard_photo{},
|
||||
bday :: binary(),
|
||||
adr = [] :: [#vcard_adr{}],
|
||||
label = [] :: [#vcard_label{}],
|
||||
tel = [] :: [#vcard_tel{}],
|
||||
email = [] :: [#vcard_email{}],
|
||||
jabberid :: binary(),
|
||||
mailer :: binary(),
|
||||
tz :: binary(),
|
||||
geo :: #vcard_geo{},
|
||||
title :: binary(),
|
||||
role :: binary(),
|
||||
logo :: #vcard_logo{},
|
||||
org :: #vcard_org{},
|
||||
categories = [] :: [binary()],
|
||||
note :: binary(),
|
||||
prodid :: binary(),
|
||||
rev :: binary(),
|
||||
sort_string :: binary(),
|
||||
sound :: #vcard_sound{},
|
||||
uid :: binary(),
|
||||
url :: binary(),
|
||||
class :: 'confidential' | 'private' | 'public',
|
||||
key :: #vcard_key{},
|
||||
desc :: binary()}).
|
||||
|
||||
-record(time, {tzo :: any(),
|
||||
utc :: any()}).
|
||||
|
|
|
@ -1432,12 +1432,12 @@
|
|||
#ref{name = vcard_PRIVATE, min = 0, max = 1, label = '$class'},
|
||||
#ref{name = vcard_CONFIDENTIAL, min = 0, max = 1, label = '$class'}]}}.
|
||||
|
||||
{vcard_AGENT,
|
||||
#elem{name = <<"AGENT">>,
|
||||
xmlns = <<"vcard-temp">>,
|
||||
result = {vcard_agent, '$vcard', '$extval'},
|
||||
refs = [#ref{name = vcard, min = 0, max = 1, label = '$vcard'},
|
||||
#ref{name = vcard_EXTVAL, min = 0, max = 1, label = '$extval'}]}}.
|
||||
%% {vcard_AGENT,
|
||||
%% #elem{name = <<"AGENT">>,
|
||||
%% xmlns = <<"vcard-temp">>,
|
||||
%% result = {vcard_agent, '$vcard', '$extval'},
|
||||
%% refs = [#ref{name = vcard, min = 0, max = 1, label = '$vcard'},
|
||||
%% #ref{name = vcard_EXTVAL, min = 0, max = 1, label = '$extval'}]}}.
|
||||
|
||||
{vcard,
|
||||
#elem{name = <<"vCard">>,
|
||||
|
@ -1445,7 +1445,7 @@
|
|||
result = {vcard, '$version', '$fn', '$n', '$nickname', '$photo',
|
||||
'$bday', '$adr', '$label', '$tel', '$email', '$jabberid',
|
||||
'$mailer', '$tz', '$geo', '$title', '$role', '$logo',
|
||||
'$org', '$categories', '$note', '$prodid', '$agent',
|
||||
'$org', '$categories', '$note', '$prodid', %% '$agent',
|
||||
'$rev', '$sort_string', '$sound', '$uid', '$url', '$class',
|
||||
'$key', '$desc'},
|
||||
refs = [#ref{name = vcard_N, min = 0, max = 1, label = '$n'},
|
||||
|
@ -1471,7 +1471,7 @@
|
|||
#ref{name = vcard_NOTE, min = 0, max = 1, label = '$note'},
|
||||
#ref{name = vcard_PRODID, min = 0, max = 1, label = '$prodid'},
|
||||
#ref{name = vcard_REV, min = 0, max = 1, label = '$rev'},
|
||||
#ref{name = vcard_AGENT, min = 0, max = 1, label = '$agent'},
|
||||
%%#ref{name = vcard_AGENT, min = 0, max = 1, label = '$agent'},
|
||||
#ref{name = vcard_SORT_STRING, min = 0, max = 1,
|
||||
label = '$sort_string'},
|
||||
#ref{name = vcard_UID, min = 0, max = 1, label = '$uid'},
|
||||
|
|
Loading…
Reference in New Issue