Re: [Bluez-devel] Proposed DTD

Marcel Holtmann
2006-10-24T08:13:32Z

Hi Denis,

> Based on your feedback a new DTD specification. Hopefully it is getting
> closer.

looks good. However the text about hex encoded is not needed. All number
based values can be either in hex or decimal or whatever. We will use
the standard encoding to detect it. For example if it starts with 0x
then it is hex, otherwise it is decimal.

I am also not sure that the encoding attribute is needed. If you wanna
encode binary data in text elements (at the moment only HID does this)
then you can use \000 style encoding to do so.

Can also provide an example XML record for a really simple serial port
profile. This will help to see how it looks like.

Anyone willing to write a really specific and simple XML parser to
convert these XML files into sdp_record_t structures. And or course a
function that converts this structure back to XML.

Regards

Marcel