From: cyril vidal (cyr.vidal@wanadoo.fr)
Date: 02/08/2002 - 12:55
Bonjour,
Si quelqu'un s'y connaît en Topic Maps, j'aimerias bien savoir où se trouve l'erreur dans le fichier suivant. En voulant le visualiser avec Omnigator de Ontopia, j'obtiens le message d'erreur suivant, sans vraiment comprendre de quoi il s'agit:
Failed to load: circuit.xtm
XML parsing problem: java.lang.StringIndexOutOfBoundsException: String index
out of range: -1 at: file:/C:/Program
Files/omnigator/jakarta-tomcat/webapps/omnigator/WEB-INF/topicmaps/circuit.x
tm:148:-1
The registry has been updated in APPLICATION_SCOPE.
Fichier circuit.xml:
<?xml version="1.0"?>
<topicMap xmlns='http://www.topicmaps.org/xtm/1.0/'
xmlns:xlink='http://www.w3.org/1999/xlink/'>
<topic id="Gravitic-Anomalizer-circuit">
<baseName>
<baseNameString>Electronic Circuit Schematic</baseNameString>
</baseName>
<baseName>
<scope>
<topicRef xlink:href="#electrical-graviticanomalizer"/>
<topicRef xlink:href="#circuit-design"/>
<topicRef xlink:href="#electronic-circuit"/>
<topicRef xlink:href="#line-drawing"/>
<topicRef xlink:href="#picture"/>
</scope>
<baseNameString>circuit</baseNameString>
</baseName>
<occurrence>
<instanceOf>
<topicRef xlink:href="#mention"/>
</instanceOf>
<scope>
<topicRef xlink:href="#text-thing"/>
<topicRef xlink:href="#rdf-schema"/>
</scope>
<resourceRef xlink:href="www.openmeta.org/2001/contentschema"/>
</occurrence>
<occurrence>
<instanceOf>
<topicRef xlink:href="#appears-in"/>
</instanceOf>
<scope>
<topicRef xlink:href="#visible-thing"/>
<topicRef xlink:href="#svg-program"/>
</scope>
<resourceRef xlink:href="www.openmeta.org/2001/svgpicture.svg"/>
</occurrence>
<occurrence>
<instanceOf>
<topicRef xlink:href="#book-content"/>
</instanceOf>
<scope>
<topicRef xlink:href="#text-thing"/>
<topicRef xlink:href="#published-book"/>
</scope>
<resourceRef xlink:href="www.machin.xml"/>
</occurrence>
</topic>
<topic id="battery">
<baseName>
<baseNameString>Electronic Circuit Battery</baseNameString>
</baseName>
<baseName>
<scope>
<topicRef xlink:href="#electrical-power-source"/>
<topicRef xlink:href="#circuit-design"/>
<topicRef xlink:href="#electronic-circuit"/>
<topicRef xlink:href="#line-drawing"/>
<topicRef xlink:href="#picture"/>
</scope>
<baseNameString>battery</baseNameString>
</baseName>
<occurrence>
<instanceOf>
<topicRef xlink:href="#mention"/>
</instanceOf>
<scope>
<topicRef xlink:href="#text-thing"/>
<topicRef xlink:href="#rdf-schema"/>
</scope>
<resourceRef xlink:href="www.openmeta.org/2001/contentschema"/>
</occurrence>
<occurrence>
<instanceOf>
<topicRef xlink:href="#appears-in"/>
</instanceOf>
<scope>
<topicRef xlink:href="#visible-thing"/>
<topicRef xlink:href="#svg-program"/>
</scope>
<resourceRef xlink:href="www.openmeta.org/2001/svgpicture.svg"/>
</occurrence>
<occurrence>
<instanceOf>
<topicRef xlink:href="#book-content"/>
</instanceOf>
<scope>
<topicRef xlink:href="#text-thing"/>
<topicRef xlink:href="#published-book"/>
</scope>
<resourceRef xlink:href="www.machin.xml"/>
</occurrence>
</topic>
<topic id="ground">
<baseName>
<baseNameString>Electric Circuit Ground </baseNameString>
</baseName>
<baseName>
<scope>
<topicRef xlink:href="#electrical-ground"/>
<topicRef xlink:href="#circuit-design"/>
<topicRef xlink:href="#electronic-circuit"/>
<topicRef xlink:href="#line-drawing"/>
<topicRef xlink:href="#picture"/>
</scope>
<baseNameString>ground</baseNameString>
</baseName>
<occurrence>
<instanceOf>
<topicRef xlink:href="#mention"/>
</instanceOf>
<scope>
<topicRef xlink:href="#text-thing"/>
<topicRef xlink:href="#rdf-schema"/>
</scope>
<resourceRef xlink:href="www.openmeta.org/2001/contentschema"/>
</occurrence>
<occurrence>
<instanceOf>
<topicRef xlink:href="#appears-in"/>
</instanceOf>
<scope>
<topicRef xlink:href="#visible-thing"/>
<topicRef xlink:href="#svg-program"/>
</scope>
<resourceRef xlink:href="www.openmeta.org/2001/svgpicture.svg"/>
</occurrence>
<occurrence>
<instanceOf>
<topicRef xlink:href="#book-content"/>
</instanceOf>
<scope>
<topicRef xlink:href="#text-thing"/>
<topicRef xlink:href="#published-book"/>
</scope>
<resourceRef xlink:href="www.machin.xml"/>
</occurrence>
</topic>
<association>
<instanceOf>
<subjectIndicatorRef
xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class-instance"/>
</instanceOf>
<scope>
<topicRef xlink:href="battery-ground-connection"/>
</scope>
<member>
<roleSpec>
<subjectIndicatorRef
xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class"/>
</roleSpec>
<topicRef xlink:href="#connected-pairs"/>
</member>
<member>
<roleSpec>
<subjectIndicatorRef
xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#instance"/>
</roleSpec>
<topicRef xlink:href="#battery"/>
<topicRef xlink:href="#ground"/>
</member>
</association>
<association>
<instanceOf>
<subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class-instance"/>
</instanceOf>
<scope>
<topicRef xlink:href="#battery-atright-ground"/>
</scope>
<member>
<roleSpec>
<subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class"/>
</roleSpec>
<topicRef xlink:href="#atright-pairs"/>
</member>
<member>
<roleSpec>
<subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#instance"/>
</roleSpec>
<topicRef xlink:href="#battery"/>
<topicRef xlink:href="#ground"/>
</member>
</association>
<topic id="variableresistor">
<baseName>
<baseNameString>Electronic Circuit Variableresistor</baseNameString>
</baseName>
<baseName>
<scope>
<topicRef xlink:href="#electrical-resistance"/>
<topicRef xlink:href="#circuit-design"/>
<topicRef xlink:href="#electronic-circuit"/>
<topicRef xlink:href="#line-drawing"/>
<topicRef xlink:href="#picture"/>
</scope>
<baseNameString>variableresistor</baseNameString>
</baseName>
<occurrence>
<instanceOf>
<topicRef xlink:href="#mention"/>
</instanceOf>
<scope>
<topicRef xlink:href="#text-thing"/>
<topicRef xlink:href="#rdf-schema"/>
</scope>
<resourceRef xlink:href="www.openmeta.org/2001/contentschema"/>
</occurrence>
<occurrence>
<instanceOf>
<topicRef xlink:href="#appears-in"/>
</instanceOf>
<scope>
<topicRef xlink:href="#visible-thing"/>
<topicRef xlink:href="#svg-program"/>
</scope>
<resourceRef xlink:href="www.openmeta.org/2001/svgpicture.svg"/>
</occurrence>
<occurrence>
<instanceOf>
<topicRef xlink:href="#book-content"/>
</instanceOf>
<scope>
<topicRef xlink:href="#text-thing"/>
<topicRef xlink:href="#published-book"/>
</scope>
<resourceRef xlink:href="www.machin.xml"/>
</occurrence>
</topic>
<association>
<instanceOf>
<subjectIndicatorRef
xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class-instance"/>
</instanceOf>
<scope>
<topicRef xlink:href="ground-variable-resistor-connection"/>
</scope>
<member>
<roleSpec>
<subjectIndicatorRef
xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class"/>
</roleSpec>
<topicRef xlink:href="#connected-pairs"/>
</member>
<member>
<roleSpec>
<subjectIndicatorRef
xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#instance"/>
</roleSpec>
<topicRef xlink:href="#ground"/>
<topicRef xlink:href="#variable-resistor"/>
</member>
</association>
<association>
<instanceOf>
<subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class-instance"/>
</instanceOf>
<scope>
<topicRef xlink:href="#ground-atright-variable-resistor"/>
</scope>
<member>
<roleSpec>
<subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class"/>
</roleSpec>
<topicRef xlink:href="#atright-pairs"/>
</member>
<member>
<roleSpec>
<subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#instance"/>
</roleSpec>
<topicRef xlink:href="#ground"/>
<topicRef xlink:href="#variable-resistor"/>
</member>
</association>
<topic id="inductor">
<baseName>
<baseNameString>Electronic Circuit Inductor</baseNameString>
</baseName>
<baseName>
<scope>
<topicRef xlink:href="#electrical-inductance"/>
<topicRef xlink:href="#circuit-design"/>
<topicRef xlink:href="#electronic-circuit"/>
<topicRef xlink:href="#line-drawing"/>
<topicRef xlink:href="#picture"/>
</scope>
<baseNameString>inductor</baseNameString>
</baseName>
<occurrence>
<instanceOf>
<topicRef xlink:href="#mention"/>
</instanceOf>
<scope>
<topicRef xlink:href="#text-thing"/>
<topicRef xlink:href="#rdf-schema"/>
</scope>
<resourceRef xlink:href="www.openmeta.org/2001/contentschema"/>
</occurrence>
<occurrence>
<instanceOf>
<topicRef xlink:href="#appears-in"/>
</instanceOf>
<scope>
<topicRef xlink:href="#visible-thing"/>
<topicRef xlink:href="#svg-program"/>
</scope>
<resourceRef xlink:href="www.openmeta.org/2001/svgpicture.svg"/>
</occurrence>
<occurrence>
<instanceOf>
<topicRef xlink:href="#book-content"/>
</instanceOf>
<scope>
<topicRef xlink:href="#text-thing"/>
<topicRef xlink:href="#published-book"/>
</scope>
<resourceRef xlink:href="www.machin.xml"/>
</occurrence>
</topic>
<association>
<instanceOf>
<subjectIndicatorRef
xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class-instance"/>
</instanceOf>
<scope>
<topicRef xlink:href="variable-resistor-inductor-connection"/>
</scope>
<member>
<roleSpec>
<subjectIndicatorRef
xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class"/>
</roleSpec>
<topicRef xlink:href="#connected-pairs"/>
</member>
<member>
<roleSpec>
<subjectIndicatorRef
xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#instance"/>
</roleSpec>
<topicRef xlink:href="#variable-resistor"/>
<topicRef xlink:href="#inductor"/>
</member>
</association>
<association>
<instanceOf>
<subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class-instance"/>
</instanceOf>
<scope>
<topicRef xlink:href="#variable-resistor-atright-inductor"/>
</scope>
<member>
<roleSpec>
<subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class"/>
</roleSpec>
<topicRef xlink:href="#atright-pairs"/>
</member>
<member>
<roleSpec>
<subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#instance"/>
</roleSpec>
<topicRef xlink:href="#variable-resistor"/>
<topicRef xlink:href="#inductor"/>
</member>
</association>
<topic id="capacitor">
<baseName>
<baseNameString>Electronic Circuit Capacitor</baseNameString>
</baseName>
<baseName>
<scope>
<topicRef xlink:href="#electrical-capacitance"/>
<topicRef xlink:href="#circuit-design"/>
<topicRef xlink:href="#electronic-circuit"/>
<topicRef xlink:href="#line-drawing"/>
<topicRef xlink:href="#picture"/>
</scope>
<baseNameString>capacitor</baseNameString>
</baseName>
<occurrence>
<instanceOf>
<topicRef xlink:href="#mention"/>
</instanceOf>
<scope>
<topicRef xlink:href="#text-thing"/>
<topicRef xlink:href="#rdf-schema"/>
</scope>
<resourceRef xlink:href="www.openmeta.org/2001/contentschema"/>
</occurrence>
<occurrence>
<instanceOf>
<topicRef xlink:href="#appears-in"/>
</instanceOf>
<scope>
<topicRef xlink:href="#visible-thing"/>
<topicRef xlink:href="#svg-program"/>
</scope>
<resourceRef xlink:href="www.openmeta.org/2001/svgpicture.svg"/>
</occurrence>
<occurrence>
<instanceOf>
<topicRef xlink:href="#book-content"/>
</instanceOf>
<scope>
<topicRef xlink:href="#text-thing"/>
<topicRef xlink:href="#published-book"/>
</scope>
<resourceRef xlink:href="www.machin.xml"/>
</occurrence>
</topic>
<association>
<instanceOf>
<subjectIndicatorRef
xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class-instance"/>
</instanceOf>
<scope>
<topicRef xlink:href="inductor-capacitor-connection"/>
</scope>
<member>
<roleSpec>
<subjectIndicatorRef
xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class"/>
</roleSpec>
<topicRef xlink:href="#connected-pairs"/>
</member>
<member>
<roleSpec>
<subjectIndicatorRef
xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#instance"/>
</roleSpec>
<topicRef xlink:href="#inductor"/>
<topicRef xlink:href="#capacitor"/>
</member>
</association>
<association>
<instanceOf>
<subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class-instance"/>
</instanceOf>
<scope>
<topicRef xlink:href="#inductor-atright-capacitor"/>
</scope>
<member>
<roleSpec>
<subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class"/>
</roleSpec>
<topicRef xlink:href="#atright-pairs"/>
</member>
<member>
<roleSpec>
<subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#instance"/>
</roleSpec>
<topicRef xlink:href="#inductor"/>
<topicRef xlink:href="#capacitor"/>
</member>
</association>
<topic id="antenna">
<baseName>
<baseNameString>Electronic Circuit Antenna</baseNameString> </baseName>
<baseName>
<scope>
<topicRef xlink:href="#electrical-antenna"/>
<topicRef xlink:href="#circuit-design"/>
<topicRef xlink:href="#electronic-circuit"/>
<topicRef xlink:href="#line-drawing"/>
<topicRef xlink:href="#picture"/>
</scope>
<baseNameString>antenna</baseNameString>
</baseName>
<occurrence>
<instanceOf>
<topicRef xlink:href="#mention"/>
</instanceOf>
<scope>
<topicRef xlink:href="#text-thing"/>
<topicRef xlink:href="#rdf-schema"/>
</scope>
<resourceRef xlink:href="www.openmeta.org/2001/contentschema"/>
</occurrence>
<occurrence>
<instanceOf>
<topicRef xlink:href="#appears-in"/>
</instanceOf>
<scope>
<topicRef xlink:href="#visible-thing"/>
<topicRef xlink:href="#svg-program"/>
</scope>
<resourceRef xlink:href="www.openmeta.org/2001/svgpicture.svg"/>
</occurrence>
<occurrence>
<instanceOf>
<topicRef xlink:href="#book-content"/>
</instanceOf>
<scope>
<topicRef xlink:href="#text-thing"/>
<topicRef xlink:href="#published-book"/>
</scope>
<resourceRef xlink:href="www.machin.xml"/>
</occurrence>
</topic>
<association>
<instanceOf>
<subjectIndicatorRef
xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class-instance"/>
</instanceOf>
<scope>
<topicRef xlink:href="capacitor-antenna-connection"/>
</scope>
<member>
<roleSpec>
<subjectIndicatorRef
xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class"/>
</roleSpec>
<topicRef xlink:href="#connected-pairs"/>
</member>
<member>
<roleSpec>
<subjectIndicatorRef
xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#instance"/>
</roleSpec>
<topicRef xlink:href="#capacitor"/>
<topicRef xlink:href="#antenna"/>
</member>
</association>
<association>
<instanceOf>
<subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class-instance"/>
</instanceOf>
<scope>
<topicRef xlink:href="#capacitor-atright-antenna"/>
</scope>
<member>
<roleSpec>
<subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#class"/>
</roleSpec>
<topicRef xlink:href="#atright-pairs"/>
</member>
<member>
<roleSpec>
<subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#instance"/>
</roleSpec>
<topicRef xlink:href="#capacitor"/>
<topicRef xlink:href="#antenna"/>
</member>
</association>
</topicMap>
Cordialement,
Cyril Vidal
Email: cyril@planetexml.com
Web: http://www.planetexml.com
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Archive générée par hypermail 2.1.3 le 28/06/2004 - 11:06 UTC
webmaster@xmlfr.org
|