CCXML IR Assertion 610 -- xml:base

I think that the xml:base specified in Assertion 610 of test 6_1 in the CCXML Implementation Report test is not correct.
The document in question looks like this:
http://example.org/ir-cc/6_1/child_9.ccxml
 <?xml version="1.0" encoding="UTF-8"?>
 <ccxml xmlns:conf="http://www.w3.org/2005/ccxml-conformance"
 version="1.0"
 xml:base="./testbase">
 ...
 <eventprocessor>
 <transition event="ccxml.loaded">
 ...
 <fetch next="'ccxml_ok.ccxml'"/>
 </transition>
 ...
Notice that the xml:base attribute is a relative URI.
This means that the base URI for the document has to be resolved against the document URI.
So the base URI is now
 http://example.org/ir-cc/6_1/testbase
But the URI in the fetch element is relative too
 ccxml_ok.ccxml
So the fetch URI is resolved against the base URI, which gives
 http://example.org/ir-cc/6_1/ccxml_ok.ccxml
But I think the test author expected
 http://example.org/ir-cc/6_1/testbase/ccxml_ok.ccxml
because that's where the ccxml_ok.ccxml document is located.
The xml:base should have been specified as "testbase/" instead of "./testbase"

Received on Monday, 17 October 2011 02:57:59 UTC

AltStyle によって変換されたページ (->オリジナル) /