I have some SPARQLMotion scripts that are defined in SPIN functions
using the sml:ReturnRDF modules.  Some of my return modules have the
sml:serialization settings set to sm:XML.  In TopBraid 3.3.5 my return
markup came back as nested XML.  However, in TopBraid 3.4.2, my
returned XML comes back different and is a flat XML format, which
looks more like RDF XML.

For example, I have included two returned results from running my
script from Ensemble.  One return result came from TopBraid 3.3.5 and
the other result came from TopBraid 3.4.2.  This has caused a problem
in processes that pick up these return results from the script calls
since the XML markup is not returned in 3.4.2 as expected.

RETURN XML RESULTS FROM TOPBRAID 3.3.5:
<?xml version="1.0"?>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
                ...........
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";>
  <oext:modelBackupResultList>
    <oext:hasModelBackupResult>
      <oext:modelBackupResult>
        <oext:oModelName>KNOS_Tester1_obk_20110324_121218</
oext:oModelName>
        <oext:oOutF>/DataDir/Export/RDFXML/
KNOS_Tester1_obk_20110324_121218.rdf</oext:oOutF>
      </oext:modelBackupResult>
    </oext:hasModelBackupResult>
    <oext:hasModelBackupResult>
      <oext:modelBackupResult>
        <oext:wkModelName>KNOS_Tester1_wkbk_20110324_121217</
oext:wkModelName>
        <oext:wkOut>/DataDir/Export/RDFXML/
KNOS_Tester1_wkbk_20110324_121217.rdf</oext:wkOut>
      </oext:modelBackupResult>
    </oext:hasModelBackupResult>
  </oext:modelBackupResultList>
</rdf:RDF>



RETURN XML RESULTS FROM TOPBRAID 3.4.2:
<?xml version="1.0"?>
<rdf:RDF
    xmlns:spinowl="http://topbraid.org/spin/spinowl#";
                ...........
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"; >
  <rdf:Description rdf:nodeID="A0">
    <oext:oModelName>KNOS_dev_obk_20110324_120049</oext:oModelName>
    <oext:oOutF>/DataDir/Export/RDFXML/
KNOS_dev_obk_20110324_120049.rdf</oext:oOutF>
    <rdf:type rdf:resource="http://www.oururl.com/
oracleExtraction#modelBackupResult"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A1">
    <rdf:type rdf:resource="http://www.oururl.com/
oracleExtraction#modelBackupResultList"/>
    <oext:hasModelBackupResult rdf:nodeID="A2"/>
    <oext:hasModelBackupResult rdf:nodeID="A0"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A2">
    <oext:wkOut>/DataDir/Export/RDFXML/
KNOS_dev_wkbk_20110324_120048.rdf</oext:wkOut>
    <rdf:type rdf:resource="http://www.oururl.com/
oracleExtraction#modelBackupResult"/>
    <oext:wkModelName>KNOS_dev_wkbk_20110324_120048</oext:wkModelName>
  </rdf:Description>
</rdf:RDF>



~Catrina

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to