art1c0 / mooha

Automatically exported from code.google.com/p/mooha
0 stars 0 forks source link

Incomplete handling of the Type meta element in updates from the client #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The SyncML Sync Protocol specification 1.0.1, in section 5.2, says:

The Type element of the MetaInf DTD MUST be included in the Meta element to 
indicate the type of the data item (E.g., MIME type). The Meta element inside 
an operation or inside an item can be used.

The attached patch makes Mooha look inside the Meta->Type element of the 
operation in addition to the Meta->Type element of the item and adds a default 
of "text/plain" according to the Meta information spec.

Original issue reported on code.google.com by matthijskooijman@gmail.com on 31 Aug 2010 at 2:29

Attachments: