/usr/share/php/Horde/Xml/Wbxml/Dtd/SyncMlDevInf.php is in php-horde-xml-wbxml 2.0.1-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | <?php
/**
* From Binary XML Content Format Specification Version 1.3, 25 July 2001
* found at http://www.wapforum.org
*
* Copyright 2003-2012 Horde LLC (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (LGPL). If you
* did not receive this file, see http://www.horde.org/licenses/lgpl21.
*
* @author Anthony Mills <amills@pyramid6.com>
* @package Xml_Wbxml
*/
class Horde_Xml_Wbxml_Dtd_SyncMlDevInf extends Horde_Xml_Wbxml_Dtd
{
public 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'
*/
$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, Horde_Xml_Wbxml_Dtd::DEVINF_1_1, 'syncml:devinf1.1');
$this->setURI('syncml:devinf1.1');
} elseif ($this->version == 2) {
$this->setCodePage(0, Horde_Xml_Wbxml_Dtd::DEVINF_1_2, 'syncml:devinf1.2');
$this->setURI('syncml:devinf1.2');
} else {
$this->setCodePage(0, Horde_Xml_Wbxml_Dtd::DEVINF_1_0, 'syncml:devinf1.0');
$this->setURI('syncml:devinf1.0');
}
}
}
|