This file is indexed.

/usr/share/photoml/xsl/upgrade/photo-0.09-0.10.xsl is in photoml 0.28-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
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">

<!-- 
     This file contains templates for upgrading PhotoML files from
     DTD version 0.09 to version 0.10.

     Copyright © 2005 Brendt Wohlberg <photoml@wohlberg.net>

     This is free software; you can redistribute it and/or modify it 
     under the terms of version 2 of the GNU General Public License 
     at http://www.gnu.org/licenses/gpl-2.0.txt.

     This software is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     GNU General Public License for more details.
-->

<xsl:output method="xml" indent="yes"
	    doctype-public="-//BW//DTD PhotoML 0.10//EN"
            doctype-system="photo.dtd"/>


<!-- Default template -->
<xsl:template match="*|@*|text()|processing-instruction()|comment()">
  <xsl:copy>
    <xsl:apply-templates select="*|@*|text()|processing-instruction()|comment()"/>
  </xsl:copy>
</xsl:template>


<!-- Handle element name change from image to idximage -->
<xsl:template match="image">
  <idximage>
    <xsl:apply-templates select="@*"/>
  </idximage>
</xsl:template>


<!-- Handle change in location content model -->
<xsl:template match="address[parent::location]">
  <description>
    <xsl:apply-templates select="@*|*|text()|comment()"/>
  </description>
  <xsl:comment> Upgrade warning: address is no longer a valid child of location. The location element may require editing. </xsl:comment>
  <xsl:message>
    <xsl:text>Warning: manual editing of output may be required</xsl:text>
  </xsl:message>
</xsl:template>


<!-- Handle change in handling of empty descendants of defaults elements -->
<xsl:template match="*[ancestor::defaults and not(normalize-space(.)) and count(./*)=0]">
  <xsl:copy-of select="."/>
  <xsl:comment> Upgrade warning: handling of empty descendants of defaults elements has changed. The defaults element may require editing. </xsl:comment>
  <xsl:message>
    <xsl:text>Warning: manual editing of output may be required</xsl:text>
  </xsl:message>
</xsl:template>


</xsl:stylesheet>