* @package XML_WBXML */ class XML_WBXML_DTD_SyncMLDevInf extends XML_WBXML_DTD { function init() { /* this code table has been extracted from libwbxml * (see http://libwbxml.aymerick.com/) by using * * grep '\"[^\"]*\", *0x.., 0x.. },' wbxml_tables.c * | sed -e 's#^.*\"\([^\"]*\)\", *\(0x..\), \(0x..\) },.*$# \$this->setTag\(\3, \"\1\"\); // \2#g' */ #Horde::logMessage("XML_WBXML_DTD_SyncMLDevInf version=" . $this->version, __FILE__, __LINE__, PEAR_LOG_DEBUG); $this->setTag(0x05, "CTCap"); // 0x00 $this->setTag(0x06, "CTType"); // 0x00 $this->setTag(0x07, "DataStore"); // 0x00 $this->setTag(0x08, "DataType"); // 0x00 $this->setTag(0x09, "DevID"); // 0x00 $this->setTag(0x0a, "DevInf"); // 0x00 $this->setTag(0x0b, "DevTyp"); // 0x00 $this->setTag(0x0c, "DisplayName"); // 0x00 $this->setTag(0x0d, "DSMem"); // 0x00 $this->setTag(0x0e, "Ext"); // 0x00 $this->setTag(0x0f, "FwV"); // 0x00 $this->setTag(0x10, "HwV"); // 0x00 $this->setTag(0x11, "Man"); // 0x00 $this->setTag(0x12, "MaxGUIDSize"); // 0x00 $this->setTag(0x13, "MaxID"); // 0x00 $this->setTag(0x14, "MaxMem"); // 0x00 $this->setTag(0x15, "Mod"); // 0x00 $this->setTag(0x16, "OEM"); // 0x00 $this->setTag(0x17, "ParamName"); // 0x00 $this->setTag(0x18, "PropName"); // 0x00 $this->setTag(0x19, "Rx"); // 0x00 $this->setTag(0x1a, "Rx-Pref"); // 0x00 $this->setTag(0x1b, "SharedMem"); // 0x00 $this->setTag(0x1c, "Size"); // 0x00 $this->setTag(0x1d, "SourceRef"); // 0x00 $this->setTag(0x1e, "SwV"); // 0x00 $this->setTag(0x1f, "SyncCap"); // 0x00 $this->setTag(0x20, "SyncType"); // 0x00 $this->setTag(0x21, "Tx"); // 0x00 $this->setTag(0x22, "Tx-Pref"); // 0x00 $this->setTag(0x23, "ValEnum"); // 0x00 $this->setTag(0x24, "VerCT"); // 0x00 $this->setTag(0x25, "VerDTD"); // 0x00 $this->setTag(0x26, "XNam"); // 0x00 $this->setTag(0x27, "XVal"); // 0x00 $this->setTag(0x28, "UTC"); // 0x00 $this->setTag(0x29, "SupportNumberOfChanges"); // 0x00 $this->setTag(0x2a, "SupportLargeObjs"); // 0x00 $this->setTag(0x2b, "Property"); // 0x00 $this->setTag(0x2c, "PropParam"); // 0x00 $this->setTag(0x2d, "MaxOccur"); // 0x00 $this->setTag(0x2e, "NoTruncate"); // 0x00 $this->setTag(0x30, "Filter-Rx"); // 0x00 $this->setTag(0x31, "FilterCap"); // 0x00 $this->setTag(0x32, "FilterKeyword"); // 0x00 $this->setTag(0x33, "FieldLevel"); // 0x00 $this->setTag(0x34, "SupportHierarchicalSync"); // 0x00 if ($this->version == 1) { $this->setCodePage(0, DPI_DTD_DEVINF_1_1, 'syncml:devinf1.1'); $this->setURI('syncml:devinf1.1'); } elseif ($this->version == 2) { $this->setCodePage(0, DPI_DTD_DEVINF_1_2, 'syncml:devinf1.2'); $this->setURI('syncml:devinf1.2'); } else { $this->setCodePage(0, DPI_DTD_DEVINF_1_0, 'syncml:devinf1.0'); $this->setURI('syncml:devinf1.0'); } } }