/usr/share/pyshared/zope/traversing/configure.zcml is in python-zope.traversing 3.14.0-0ubuntu1.
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 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | <configure xmlns="http://namespaces.zope.org/zope"
xmlns:zcml="http://namespaces.zope.org/zcml">
<include package="zope.component" file="meta.zcml" />
<adapter
for="*"
factory="zope.traversing.adapters.Traverser"
provides="zope.traversing.interfaces.ITraverser" />
<adapter
for="*"
factory="zope.traversing.adapters.DefaultTraversable"
provides="zope.traversing.interfaces.ITraversable" />
<adapter
name="etc"
provides="zope.traversing.interfaces.ITraversable" for="*"
factory="zope.traversing.namespace.etc"
/>
<adapter
name="etc"
for="* zope.publisher.interfaces.IRequest"
provides="zope.traversing.interfaces.ITraversable"
factory="zope.traversing.namespace.etc"
/>
<adapter
name="attribute"
provides="zope.traversing.interfaces.ITraversable" for="*"
factory="zope.traversing.namespace.attr"
/>
<adapter
name="attribute"
for="* zope.publisher.interfaces.IRequest"
provides="zope.traversing.interfaces.ITraversable"
factory="zope.traversing.namespace.attr"
/>
<adapter
name="adapter"
provides="zope.traversing.interfaces.ITraversable" for="*"
factory="zope.traversing.namespace.adapter"
/>
<adapter
name="adapter"
for="* zope.publisher.interfaces.IRequest"
provides="zope.traversing.interfaces.ITraversable"
factory="zope.traversing.namespace.adapter"
/>
<adapter
name="item"
provides="zope.traversing.interfaces.ITraversable" for="*"
factory="zope.traversing.namespace.item"
/>
<adapter
name="item"
for="* zope.publisher.interfaces.IRequest"
provides="zope.traversing.interfaces.ITraversable"
factory="zope.traversing.namespace.item"
/>
<adapter
name="acquire"
provides="zope.traversing.interfaces.ITraversable" for="*"
factory="zope.traversing.namespace.acquire"
/>
<adapter
name="acquire"
for="* zope.publisher.interfaces.IRequest"
provides="zope.traversing.interfaces.ITraversable"
factory="zope.traversing.namespace.acquire"
/>
<adapter
name="view"
for="* zope.publisher.interfaces.IRequest"
provides="zope.traversing.interfaces.ITraversable"
factory="zope.traversing.namespace.view"
/>
<adapter
name="resource"
for="* zope.publisher.interfaces.IRequest"
provides="zope.traversing.interfaces.ITraversable"
factory="zope.traversing.namespace.resource"
/>
<adapter
name="lang"
provides="zope.traversing.interfaces.ITraversable" for="*"
factory="zope.traversing.namespace.lang"
/>
<adapter
name="lang"
for="* zope.publisher.interfaces.IRequest"
provides="zope.traversing.interfaces.ITraversable"
factory="zope.traversing.namespace.lang"
/>
<adapter
name="skin"
for="* zope.publisher.interfaces.IRequest"
provides="zope.traversing.interfaces.ITraversable"
factory="zope.traversing.namespace.skin"
/>
<adapter
name="vh"
for="* zope.publisher.interfaces.IRequest"
provides="zope.traversing.interfaces.ITraversable"
factory="zope.traversing.namespace.vh"
/>
<!-- The debug namespace allows acess to things that should not normally be
visible (e.g. file system read acces).
See issue 507 for the rationale of binding this to developer-mode only.
-->
<adapter
zcml:condition="have devmode"
name="debug"
for="* zope.publisher.interfaces.IRequest"
provides="zope.traversing.interfaces.ITraversable"
factory="zope.traversing.namespace.debug"
/>
</configure>
|