USIN protostring under analysis:" .
"$USIN_proto
This is junk. " . "No prefix of this string represents a valid USIN.
\n"); } else { if ($junksize > 0) { echo("This is mostly junk.\n"); else echo("
This USIN contains junk at the end.\n");
echo("The longest prefix that is a well-formed USIN:\n");
echo("" . substr($USIN_proto, 0, strlen($USIN_proto)-$junksize) .
"
This USIN parses as"); if ($map['attributes']) foreach ($map['attributes'] as $att) echo(" an attribute of"); if ($map['item_extensions']) echo(" an item within a collection or publication.
\n"); else if ($map['collection_label']) echo(" a particular collection or publication.\n"); else echo(" a publication domain.\n"); echo("The principal domain is " .
$map['principal_domain'] . ".\n");
$ext_text = '';
if (!$map['domain_extensions'])
echo("There are no domain extensions.
$extThe collection label is " .
$map['collection_label'] . ".
Within the collection, the particular item of interest is\n" . "specified through the following item extensions.
\n
$extThe USIN is qualified by the following\n" . " attribute specifiers.
\n
$ext