Attention une mise à jour du service Gitlab va être effectuée le mardi 18 janvier (et non lundi 17 comme annoncé précédemment) entre 18h00 et 18h30. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes.

Commit 0b79f1d7 authored by Fabien Triolet's avatar Fabien Triolet
Browse files

Made work with saxon

parent f3f01b69
<?xml version="1.0" encoding="UTF-8" ?>
<!-- $Id: query.dtd,v 1.9 2002-04-23 15:17:24 jerome Exp $
<!-- $Id: query.dtd,v 1.10 2002-10-30 12:33:09 triolet Exp $
!
! Transmorpher
!
......@@ -37,5 +37,6 @@
<!ELEMENT select EMPTY>
<!ATTLIST select
match CDATA #REQUIRED
test CDATA #IMPLIED
>
<?xml version="1.0" encoding="UTF-8" ?>
<!-- $Id: transmorpher.dtd,v 1.25 2002-10-17 15:36:48 triolet Exp $
<!-- $Id: transmorpher.dtd,v 1.26 2002-10-30 12:33:09 triolet Exp $
!
! Transmorpher
!
......@@ -92,7 +92,7 @@
%name;
optimized (true|false) 'false'
reloc CDATA #IMPLIED
xmlns: %uri; "http://transmorpher.fluxmedia.fr/1.0"
xmlns %uri; "http://transmorpher.fluxmedia.fr/1.0"
xmlns:xsl %uri; #FIXED "http://www.w3.org/1999/XSL/Transform">
<!ELEMENT include EMPTY>
......@@ -211,6 +211,7 @@
<!ELEMENT iterate (with-param*)>
<!ATTLIST iterate %type;
name CDATA #IMPLIED
from CDATA #IMPLIED
to CDATA #IMPLIED
in CDATA #IMPLIED
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dtd SYSTEM "../../dtd/transmorpher.dtd">
<!DOCTYPE transmorpher SYSTEM "../../dtd/transmorpher.dtd">
<transmorpher xmlns="http://transmorpher.fluxmedia.fr/1.0"
name="annu" version="1.0" reloc="annuaire/results">
......
......@@ -5,11 +5,10 @@
version="1.0"
optimized="false"
reloc="biblio/result"
xmlns="http://transmorpher.fluxmedia.fr/1.0"
xmlns:regexp="xalan://fr.fluxmedia.transmorpher.regexp.RegularExpression">
<defextern class="fr.fluxmedia.tmcontrib.serializer.PDFSerializer" name="fop"/>
<defextern class="fr.fluxmedia.tmcontrib.serializer.RTFSerializer" name="rtf"/>
xmlns="http://transmorpher.fluxmedia.fr/1.0">
<defextern class="fr.fluxmedia.tmcontrib.serializer.PDFSerializer" name="fop"/>
<defextern class="fr.fluxmedia.tmcontrib.serializer.RTFSerializer" name="rtf"/>
<ruleset name="stripAbstract">
......
......@@ -15,8 +15,10 @@
<!-- toplevel -->
<xsl:template match="/">
<test>
% File generated by bibML2BibTeX on <xsl:if test="function-available('date:to-string') and function-available('date:new')"><xsl:value-of select="date:to-string(date:new())"/></xsl:if>
<xsl:apply-templates/>
</test>
</xsl:template>
<xsl:template match="bibliography">
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE transmorpher SYSTEM "../../dtd/transmorpher.dtd">
<transmorpher name="church" version="1.0" reloc="church/result" xmlns:tm="http://transmorpher.fluxmedia.fr/">
<transmorpher name="church" version="1.0" reloc="church/result" xmlns="http://transmorpher.fluxmedia.fr/1.0">
<defextern name="int" class="fr.fluxmedia.transmorpher.stdlib.integerIterator"/>
<defextern name="fixpoint" class="fr.fluxmedia.transmorpher.stdlib.fixpointIterator"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE transmorpher SYSTEM "http://transmorpher.inrialpes.fr/dtd/transmorpher.dtd">
<!-- $Id: process.xml,v 1.2 2002-10-17 15:38:27 triolet Exp $ -->
<!DOCTYPE transmorpher SYSTEM "../../dtd/transmorpher.dtd">
<!-- $Id: process.xml,v 1.3 2002-10-30 12:33:46 triolet Exp $ -->
<!-- ############################################################
Generates program of the International Semantic Web Conference
......@@ -15,8 +15,7 @@
version="1.0"
reloc="WEB-INF/result"
optimized="false"
xmlns="http://transmorpher.fluxmedia.fr/1.0"
xmlns:regexp="xalan://fr.fluxmedia.transmorpher.regexp.RegularExpression">
xmlns="http://transmorpher.fluxmedia.fr/1.0">
<!-- ############# RULESET ############### -->
<ruleset name="stripDetails">
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE transmorpher SYSTEM "../../dtd/transmorpher.dtd">
<transmorpher name="Music" version="1.0" reloc="music/results" xmlns:tm="http://transmorpher.fluxmedia.fr/">
<transmorpher name="Music" version="1.0" reloc="music/results" xmlns="http://transmorpher.fluxmedia.fr/1.0">
<!-- select an artist -->
<query name="artist" type="tmq" root="music-collection">
<param name="artist" select="TEST"/>
<select match="music-collection/owner"/>
<select match="music-collection/artist[name=translate($artist,'_',' ')]"/>
<select match="music-collection/artist" test="name=translate($artist,'_',' ')"/>
</query>
<!-- removes all tag <time></time> -->
......@@ -32,7 +32,7 @@
<dispatch id="disp" type="broadcast" in="o" out="o1 o2"/>
<apply-ruleset ref="stripTime" id="Strip" in="o1" out="o11"/>
<apply-external id="xml2html" in="o11" out="o12" type="xslt">
<with-param name="file">../samples/music/xslt/${filename}.xsl</with-param>
</apply-external>
......@@ -64,10 +64,11 @@
<!-- <with-param name="type">vcal</with-param> -->
</generate>
<dispatch id="disp" type="broadcast" in="a1" out="a11 a12"/>
<dispatch id="dispatch" type="broadcast" in="a1" out="a11 a12"/>
<apply-external id="xml2cal" in="a11" out="a21" type="xslt">
<with-param name="file">../samples/music/xslt/form-xvcs.xsl</with-param>
<with-param name="method">text</with-param>
</apply-external>
<serialize id="FormCAL" type="writefile" in="a21">
......
<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
<!-- DOCTYPE vcalendar SYSTEM "vcalxml.dtd" -->
<!-- $Id: form-xvcs.xsl,v 1.1 2002-10-16 08:46:09 triolet Exp $ -->
<!-- $Id: form-xvcs.xsl,v 1.2 2002-10-30 12:33:46 triolet Exp $ -->
<xsl:stylesheet version="1.0"
xmlns:vcal="http://co4.inrialpes.fr/xml/pimlib/vcal/1.0"
......@@ -20,15 +20,17 @@
<!-- toplevel -->
<xsl:template match="VCALENDAR">
<xsl:template match="VCALENDAR" priority="2">
<test><!-- Needed by Saxon : saxon have to output a well-formed document !-->
BEGIN:<xsl:value-of select="name()"/><xsl:text>
</xsl:text>
<xsl:apply-templates/>
END:<xsl:value-of select="name()"/><xsl:text>
</xsl:text>
</test><!-- Needed by Saxon : saxon have to output a well-formed document !-->
</xsl:template>
<xsl:template match="VEVENT | VTODO">
<xsl:template match="VEVENT | VTODO" priority="1">
BEGIN:<xsl:value-of select="name()"/><xsl:text>
</xsl:text>
<xsl:apply-templates/>
......
......@@ -148,7 +148,7 @@ class vcsReader extends AbstractXMLReader {
if (index != -1) {
decode = false;
if (!elementName.equals("")) {
handler.endElement("", "", elementName);
handler.endElement("", elementName, elementName);
elementName = "";
}
elementName = line.substring(0, index);
......@@ -168,7 +168,7 @@ class vcsReader extends AbstractXMLReader {
elementName = elementValue;
String inStack = (String)myStack.pop();
if (elementName.equals(inStack)) {
handler.endElement("", "", elementName);
handler.endElement("", elementName, elementName);
} else {
System.err.println("mismatch " + elementName + " expected " + inStack);
}
......@@ -223,10 +223,10 @@ class vcsReader extends AbstractXMLReader {
int i = 0;
while ((indexE = text.indexOf(";")) != -1) {
atts = new AttributesImpl();
handler.startElement("", "", NElement[i], atts);
handler.startElement("", NElement[i], NElement[i], atts);
elementValue = text.substring(0, indexE);
handler.characters(elementValue.toCharArray(), 0, elementValue.length());
handler.endElement("", "", NElement[i]);
handler.endElement("", NElement[i], NElement[i]);
text = text.substring(indexE + 1);
i++;
......@@ -236,10 +236,10 @@ class vcsReader extends AbstractXMLReader {
int i = 0;
while ((indexE = text.indexOf(";")) != -1) {
atts = new AttributesImpl();
handler.startElement("", "", ADRElement[i], atts);
handler.startElement("", ADRElement[i], ADRElement[i], atts);
elementValue = text.substring(0, indexE);
handler.characters(elementValue.toCharArray(), 0, elementValue.length());
handler.endElement("", "", ADRElement[i]);
handler.endElement("", ADRElement[i], ADRElement[i]);
text = text.substring(indexE + 1);
i++;
......@@ -252,10 +252,10 @@ class vcsReader extends AbstractXMLReader {
if (i > 1) {
i = 1;
}
handler.startElement("", "", ORGElement[i], atts);
handler.startElement("", ORGElement[i], ORGElement[i], atts);
elementValue = text.substring(0, indexE);
handler.characters(elementValue.toCharArray(), 0, elementValue.length());
handler.endElement("", "", ORGElement[i]);
handler.endElement("", ORGElement[i], ORGElement[i]);
text = text.substring(indexE + 1);
i++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment