<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?action=history&amp;feed=atom&amp;title=Document_validate.pl</id>
	<title>Document validate.pl - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?action=history&amp;feed=atom&amp;title=Document_validate.pl"/>
	<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Document_validate.pl&amp;action=history"/>
	<updated>2026-05-10T03:46:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Document_validate.pl&amp;diff=14325&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk: Added actually file name in bold.</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Document_validate.pl&amp;diff=14325&amp;oldid=prev"/>
		<updated>2022-01-27T12:17:27Z</updated>

		<summary type="html">&lt;p&gt;Added actually file name in bold.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:17, 27 January 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{cfgd}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{cfgd}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This file &lt;/del&gt;contains configuration for validating Document data objects.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;document_validate.pl&#039;&#039;&#039; &lt;/ins&gt;contains configuration for validating Document data objects.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;validate_document&amp;#039;&amp;#039;&amp;#039; function tests the validity of the values set for the metadata fields for a Document.  This usually happens when a user submits the form (e.g. clicks on &amp;#039;&amp;#039;Previous&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Save and Return&amp;#039;&amp;#039; or &amp;#039;&amp;#039;Next&amp;#039;&amp;#039;) on the &amp;#039;&amp;#039;Upload&amp;#039;&amp;#039; stage.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;validate_document&amp;#039;&amp;#039;&amp;#039; function tests the validity of the values set for the metadata fields for a Document.  This usually happens when a user submits the form (e.g. clicks on &amp;#039;&amp;#039;Previous&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Save and Return&amp;#039;&amp;#039; or &amp;#039;&amp;#039;Next&amp;#039;&amp;#039;) on the &amp;#039;&amp;#039;Upload&amp;#039;&amp;#039; stage.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
	</entry>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Document_validate.pl&amp;diff=14274&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk at 22:57, 22 January 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Document_validate.pl&amp;diff=14274&amp;oldid=prev"/>
		<updated>2022-01-22T22:57:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:57, 22 January 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{dirs}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{dirs}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{cfgd}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{cfgd}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This file contains configuration for validating Document data objects.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;validate_document&amp;#039;&amp;#039;&amp;#039; function tests the validity of the values set for the metadata fields for a Document.  This usually happens when a user submits the form (e.g. clicks on &amp;#039;&amp;#039;Previous&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Save and Return&amp;#039;&amp;#039; or &amp;#039;&amp;#039;Next&amp;#039;&amp;#039;) on the &amp;#039;&amp;#039;Upload&amp;#039;&amp;#039; stage.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;validate_document&amp;#039;&amp;#039;&amp;#039; function tests the validity of the values set for the metadata fields for a Document.  This usually happens when a user submits the form (e.g. clicks on &amp;#039;&amp;#039;Previous&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Save and Return&amp;#039;&amp;#039; or &amp;#039;&amp;#039;Next&amp;#039;&amp;#039;) on the &amp;#039;&amp;#039;Upload&amp;#039;&amp;#039; stage.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
	</entry>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Document_validate.pl&amp;diff=14255&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk: Added document_validate.pl config page</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Document_validate.pl&amp;diff=14255&amp;oldid=prev"/>
		<updated>2022-01-21T18:30:12Z</updated>

		<summary type="html">&lt;p&gt;Added document_validate.pl config page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{dirs}}&lt;br /&gt;
{{cfgd}}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;validate_document&amp;#039;&amp;#039;&amp;#039; function tests the validity of the values set for the metadata fields for a Document.  This usually happens when a user submits the form (e.g. clicks on &amp;#039;&amp;#039;Previous&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Save and Return&amp;#039;&amp;#039; or &amp;#039;&amp;#039;Next&amp;#039;&amp;#039;) on the &amp;#039;&amp;#039;Upload&amp;#039;&amp;#039; stage.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;$document&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; is the [[API:EPrints/DataObj/Document|Document]] object being validated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;$repository&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; is a [[API:EPrints/Repository|Repository]] object.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;$for_archive&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; is a boolean indicating whether the current validation is a precursor to the item being moved to the live archive.  Its value make no difference for the default &amp;#039;&amp;#039;&amp;#039;validate_document&amp;#039;&amp;#039;&amp;#039; function.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
In this example, the document is checked to validate:&lt;br /&gt;
# &amp;#039;&amp;#039;formatdesc&amp;#039;&amp;#039; is set if the &amp;#039;&amp;#039;format&amp;#039;&amp;#039; is set to &amp;#039;&amp;#039;other&amp;#039;&amp;#039;.&lt;br /&gt;
# &amp;#039;&amp;#039;security&amp;#039;&amp;#039; is not &amp;#039;&amp;#039;public&amp;#039;&amp;#039; if &amp;#039;&amp;#039;embargo_date&amp;#039;&amp;#039; is set or the document is not really emabargoed.&lt;br /&gt;
# A full &amp;#039;&amp;#039;embargo_date&amp;#039;&amp;#039; is set to ensure there is no ambiguity about when an embargo will be lifted.&lt;br /&gt;
# The &amp;#039;&amp;#039;embargo_date&amp;#039;&amp;#039; is set in the future.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$c-&amp;gt;{validate_document} = sub&lt;br /&gt;
{&lt;br /&gt;
    my( $document, $repository, $for_archive ) = @_;&lt;br /&gt;
&lt;br /&gt;
    my @problems = ();&lt;br /&gt;
&lt;br /&gt;
    my $xml = $repository-&amp;gt;xml();&lt;br /&gt;
&lt;br /&gt;
    # CHECKS IN HERE&lt;br /&gt;
&lt;br /&gt;
    # &amp;quot;other&amp;quot; documents must have a description set&lt;br /&gt;
    if( $document-&amp;gt;value( &amp;quot;format&amp;quot; ) eq &amp;quot;other&amp;quot; &amp;amp;&amp;amp;&lt;br /&gt;
       !EPrints::Utils::is_set( $document-&amp;gt;value( &amp;quot;formatdesc&amp;quot; ) ) )&lt;br /&gt;
    {&lt;br /&gt;
        my $fieldname = $xml-&amp;gt;create_element( &amp;quot;span&amp;quot;, class=&amp;gt;&amp;quot;ep_problem_field:documents&amp;quot; );&lt;br /&gt;
        push @problems, $repository-&amp;gt;html_phrase(&lt;br /&gt;
                    &amp;quot;validate:need_description&amp;quot; ,&lt;br /&gt;
                    type=&amp;gt;$document-&amp;gt;render_citation(&amp;quot;brief&amp;quot;),&lt;br /&gt;
                    fieldname=&amp;gt;$fieldname );&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    # security can&amp;#039;t be &amp;quot;public&amp;quot; if date embargo set&lt;br /&gt;
    if( $document-&amp;gt;value( &amp;quot;security&amp;quot; ) eq &amp;quot;public&amp;quot; &amp;amp;&amp;amp;&lt;br /&gt;
        EPrints::Utils::is_set( $document-&amp;gt;value( &amp;quot;date_embargo&amp;quot; ) ) )&lt;br /&gt;
    {&lt;br /&gt;
        my $fieldname = $xml-&amp;gt;create_element( &amp;quot;span&amp;quot;, class=&amp;gt;&amp;quot;ep_problem_field:documents&amp;quot; );&lt;br /&gt;
        push @problems, $repository-&amp;gt;html_phrase(&lt;br /&gt;
                    &amp;quot;validate:embargo_check_security&amp;quot; ,&lt;br /&gt;
                    fieldname=&amp;gt;$fieldname );&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    # embargo expiry date must be a full year, month and day and must be in the future&lt;br /&gt;
    if( EPrints::Utils::is_set( $document-&amp;gt;value( &amp;quot;date_embargo&amp;quot; ) ) )&lt;br /&gt;
    {&lt;br /&gt;
        my $value = $document-&amp;gt;value( &amp;quot;date_embargo&amp;quot; );&lt;br /&gt;
        my ($year, $month, $day) = split( &amp;#039;-&amp;#039;, $value );&lt;br /&gt;
        if ( !EPrints::Utils::is_set( $month ) || !EPrints::Utils::is_set( $day ) )&lt;br /&gt;
        {&lt;br /&gt;
            my $fieldname = $xml-&amp;gt;create_element( &amp;quot;span&amp;quot;, class=&amp;gt;&amp;quot;ep_problem_field:documents&amp;quot; );&lt;br /&gt;
                        push @problems, $repository-&amp;gt;html_phrase( &amp;quot;validate:embargo_incomplete_date&amp;quot;, fieldname=&amp;gt;$fieldname );&lt;br /&gt;
        }&lt;br /&gt;
        else {&lt;br /&gt;
            my ($thisyear, $thismonth, $thisday) = EPrints::Time::get_date_array();&lt;br /&gt;
            if( $year &amp;lt; $thisyear || ( $year == $thisyear &amp;amp;&amp;amp; $month &amp;lt; $thismonth ) ||&lt;br /&gt;
                ( $year == $thisyear &amp;amp;&amp;amp; $month == $thismonth &amp;amp;&amp;amp; $day &amp;lt;= $thisday ) )&lt;br /&gt;
            {&lt;br /&gt;
                my $fieldname = $xml-&amp;gt;create_element( &amp;quot;span&amp;quot;, class=&amp;gt;&amp;quot;ep_problem_field:documents&amp;quot; );&lt;br /&gt;
                push @problems,&lt;br /&gt;
                    $repository-&amp;gt;html_phrase( &amp;quot;validate:embargo_invalid_date&amp;quot;,&lt;br /&gt;
                    fieldname=&amp;gt;$fieldname );&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    return( @problems );&lt;br /&gt;
};&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
	</entry>
</feed>