- From: Dan Connolly <connolly@w3.org>
- Date: Thu, 14 Sep 2006 20:34:55 -0500
- To: Fabien Gandon <Fabien.Gandon@sophia.inria.fr>
- Cc: public-grddl-wg <public-grddl-wg@w3.org>, "Eric Prud'hommeaux" <eric@w3.org>, Ben Adida <ben@mit.edu>
On Sep 13, 2006, at 11:29 AM, Fabien Gandon wrote:
> As discussed in the previous telecon [1] one of the two outstanding
> issues to resolve before going to draft status
Just FYI; I can appreciate if that's your preference, but there's no
process reason why we can't
release a draft with open issues.
> for the Use Case Document is the question raised by the technical
> solution proposed in the XML Schema Use Case [2]:
>
> What is the technical solution proposed to enable the creator of an
> XML Schema to specify the profile and GRDDL transformations associated
> with each one of the instance documents of this schema?
I don't see the issue here. This is just a normal application
of the way GRDDL works with namespace documents.
It's completely analagous to, say, eRDF.
Oh... I guess it's not elaborated in the spec, and the test materials I
put
together aren't in part of the test suite that Dom put together.
The example is here:
http://www.w3.org/2003/g/po-doc.xml
That's an adaptation of the example schema from the XML Schema primer.
Any volunteers to add it to the test suite? I'm adding this to a list
of pending test under
http://www.w3.org/2004/01/rdxh/spec#testCases
Here's a debug trace from my glean.py implementation that might help
you understand what's going on:
$ python glean.py --debug --output ,x.rdf
http://www.w3.org/2003/g/po-doc.xml
grddl(('http://www.w3.org/2003/g/po-doc.xml', None,
['http://www.w3.org/2003/g/data-view',
'http://www.w3.org/1999/xhtml']))
grddl(('http://www.w3.org/2003/g/po-doc.xml',
'/tmp/grddl-xformsfVZ4pR.txt', ['http://www.w3.org/2003/g/data-view',
'http://www.w3.org/1999/xhtml']))
SPAWN: xsltproc --novalid -o /tmp/grddl-xformsx4fCeD.txt --stringparam
xmlfile http://www.w3.org/2003/g/po-doc.xml getTransforms.xsl
/tmp/grddl-xformsfVZ4pR.txt
getTransforms line:R http://www.w3.org/2003/g/po-ex
PROFILE: http://www.w3.org/2003/g/po-ex
grddl(('http://www.w3.org/2003/g/po-ex', None,
['http://www.w3.org/2003/g/data-view', 'http://www.w3.org/1999/xhtml',
'http://www.w3.org/2003/g/po-ex']))
grddl(('http://www.w3.org/2003/g/po-ex', '/tmp/grddl-xformszQQKFc.txt',
['http://www.w3.org/2003/g/data-view', 'http://www.w3.org/1999/xhtml',
'http://www.w3.org/2003/g/po-ex']))
SPAWN: xsltproc --novalid -o /tmp/grddl-xformslirE8T.txt --stringparam
xmlfile http://www.w3.org/2003/g/po-ex getTransforms.xsl
/tmp/grddl-xformszQQKFc.txt
getTransforms line:R http://www.w3.org/2001/XMLSchema
getTransforms line:T http://www.w3.org/2003/g/embeddedRDF.xsl
PROFILE: http://www.w3.org/2001/XMLSchema
grddl(('http://www.w3.org/2001/XMLSchema', None,
['http://www.w3.org/2003/g/data-view', 'http://www.w3.org/1999/xhtml',
'http://www.w3.org/2003/g/po-ex', 'http://www.w3.org/2001/XMLSchema']))
grddl(('http://www.w3.org/2001/XMLSchema',
'/tmp/grddl-xformsFqEST4.txt', ['http://www.w3.org/2003/g/data-view',
'http://www.w3.org/1999/xhtml', 'http://www.w3.org/2003/g/po-ex',
'http://www.w3.org/2001/XMLSchema']))
SPAWN: xsltproc --novalid -o /tmp/grddl-xformsr-o0D2.txt --stringparam
xmlfile http://www.w3.org/2001/XMLSchema getTransforms.xsl
/tmp/grddl-xformsFqEST4.txt
getTransforms line:R http://www.w3.org/1999/xhtml
SPAWN: xsltproc --novalid -o /tmp/grddl-statementsrdFtJW.rdf
--stringparam xmlfile http://www.w3.org/2003/g/po-ex
http://www.w3.org/2003/g/embeddedRDF.xsl /tmp/grddl-xformszQQKFc.txt
parsing.../tmp/grddl-statementsrdFtJW.rdf
data size:1
NAMESPACE XFORM: http://www.w3.org/2003/g/grokPO.xsl
SPAWN: xsltproc --novalid -o /tmp/grddl-statementsFQGoIf.rdf
--stringparam xmlfile http://www.w3.org/2003/g/po-doc.xml
http://www.w3.org/2003/g/grokPO.xsl /tmp/grddl-xformsfVZ4pR.txt
parsing.../tmp/grddl-statementsFQGoIf.rdf
data size:15
GRDDL size:15.
--
Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Friday, 15 September 2006 01:34:57 UTC