OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

mqtt-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Zero length topic inconsistency


Hi,

The current draft section 4.7.1.1 states that zero length topics are
allowed between topic separators, i.e. a//topic could be split into
separate topic hierarchy elements as "a" "" "topic".

Section 4.7.3 says that a leading / starts a distinct topic tree.
Subscribing to "#" will return messages delivered to topics starting
with a /. With section 4.7.1.1 I take this to mean that a leading
slash in a topic /a/topic is equivalent to "" "a" "topic".

There is nothing to say that a subscription of "/" isn't allowed,
which, assuming my previous email regarding a slash at the end of a
topic is correct, is equivalent to a subscription split up as "" "".

Section 4.7.1.2 says that a topic including the multilevel wildcard
also matches the parent topic, i.e. topic/# matches against "topic".
This suggests that a subscription to /# should also match against "".

Section 4.7.3 also says that a topic with total length of zero is not
allowed, the topic must be at least one character. This is
inconsistent with the previous points. Is this something that should
be addressed?

Cheers,

Roger


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]