[DAS2] xml:base on biopackages still not quite right

Lincoln Stein lstein at cshl.edu
Thu Aug 17 15:59:47 UTC 2006


Hi,

I'm getting an incorrect xml:base on the segments request:

% GET http://das.biopackages.net/das/genome/human/17/segment
<?xml version="1.0" encoding="UTF-8"?>
<SEGMENTS
    xmlns="http://biodas.org/documents/das2"
    xml:base="http://das.biopackages.net/das/genome/human/17/segment/"
>
  <FORMAT name="" />

  <SEGMENT uri="segment/chr1" title="chr1"
               length="246127941" reference=""
                />

  <SEGMENT uri="segment/chr2" title="chr2"
               length="243615958" reference=""
                />

  <SEGMENT uri="segment/chr3" title="chr3"
               length="199344050" reference=""
                />
  ...

  </SEGMENTS>

The problem is that the xml:base ends with a slash, so the synthesized URIs
are
   http://das.biopackages.net/das/genome/human/17/segment/segment/chr1

Lincoln
--
Lincoln D. Stein
Cold Spring Harbor Laboratory
1 Bungtown Road
Cold Spring Harbor, NY 11724
(516) 367-8380 (voice)
(516) 367-8389 (fax)
FOR URGENT MESSAGES & SCHEDULING,
PLEASE CONTACT MY ASSISTANT,
SANDRA MICHELSEN, AT michelse at cshl.edu




-- 
Lincoln D. Stein
Cold Spring Harbor Laboratory
1 Bungtown Road
Cold Spring Harbor, NY 11724
(516) 367-8380 (voice)
(516) 367-8389 (fax)
FOR URGENT MESSAGES & SCHEDULING,
PLEASE CONTACT MY ASSISTANT,
SANDRA MICHELSEN, AT michelse at cshl.edu



More information about the DAS2 mailing list