[jdev] Pubsub payload as cdata
pablo.platt at gmail.com
Mon Jun 25 00:53:03 UTC 2012
When publishing an item to a pubsub node, does the item has to be an xml
or can a user just publish cdata like
The second form make the database representation of the data much cleaner
In a web admin for example, it is much easier to see the data.
I understand the importance of the namespace for clients that should handle
different kinds of nodes
but for a dedicate client it might suit well.
In a RDBMS the item payload is probably saved as the xml as string.
One could have a field for the payload tag, payload namespace and payload
What is the best practice?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the JDev