ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jean-Tristan.Chane...@aventis.com>
Subject XSLT : incomprehensible warning
Date Tue, 15 Apr 2003 10:04:48 GMT


Hi,

I've got a problem using xslt ant task. My ant version is 1.5.3.

This is the log :
*******************************************
C:\docbook>ant wordml2docbook
Buildfile: build.xml

init:
     [echo]
     [echo]                     Fop Home = 'C:\docbook\fop'
     [echo]                     Fop Path =
'C:\docbook\fop\build\fop.jar;C:\docb
ook\fop\examples\servlet\lib\servlet-2.2.jar;C:\docbook\fop\lib\avalon-framew
ork
-cvs-20020806.jar;C:\docbook\fop\lib\batik.jar;C:\docbook\fop\lib\xalan-2.4.1
.ja
r;C:\docbook\fop\lib\xercesImpl-2.2.1.jar;C:\docbook\fop\lib\xml-apis.jar'
     [echo]

wordml2docbook:
     [xslt] Transforming into C:\docbook\files\docbook_files
     [xslt] Processing C:\docbook\files\wordml_files\Documentwordml.xml to
C:\do
cbook\files\docbook_files\Documentwordml.xml
     [xslt] Loading stylesheet
C:\docbook\files\xsl_files\layerWORDML2DOCBOOK.xs
l
     [xslt] C:/docbook/files/xsl_files/layerWORDML2DOCBOOK.xsl:159:36:
Warning!
fileref dispose dÆun attribut non autorisT : {1}
     [xslt] C:/docbook/files/xsl_files/layerWORDML2DOCBOOK.xsl:160:35:
Warning!
format dispose dÆun attribut non autorisT : {1}
     [xslt] C:/docbook/files/xsl_files/layerWORDML2DOCBOOK.xsl:23:32:
Warning! c
ols dispose dÆun attribut non autorisT : {1}
     [xslt] C:/docbook/files/xsl_files/layerWORDML2DOCBOOK.xsl:23:32:
Warning! c
ols dispose dÆun attribut non autorisT : {1}

BUILD SUCCESSFUL
Total time: 3 seconds
*******************************************

(sorry for the warning in french language, but i don't know how to have it in
english)
(free translation : Warning ! fileref gots a non-authorized attribute)

I don't understand the warnings. Indeed, if i look into
layerWORDML2DOCBOOK.xsl, I read :
***********
	<!-- Images -->
	<xsl:template match="w:pict">
		<mediaobject>
			<imageobject>
				<xsl:element name="imagedata">
					<xsl:attribute
name="fileref"><xsl:value-of
select="v:shape/v:imagedata/attribute::src"/></xsl:attribute>
					<xsl:attribute
name="format">BMP</xsl:attribute>
				</xsl:element>
			</imageobject>
		</mediaobject>
	</xsl:template>

**********

But why can't i use this attribute ?

Anyone can help me, please ?

Jean-Tristan Chanegue


-------------------------------------------------------------------------------------------
Cette communication (y compris les pieces jointes) est reservee a l'usage exclusif du destinataire
(des destinataires) et peut contenir des informations privilegiees, confidentielles, exemptees
de divulgation selon la loi ou protegees par les droits d'auteur. Si vous n'etes pas un destinataire,
toute utilisation, divulgation, distribution, reproduction, examen ou copie (totale ou partielle)
est non-autorisee et peut etre illegale. Tout message electronique est susceptible d'alteration
et son integrite ne peut etre assuree. Aventis Pasteur decline toute responsabilite au titre
de ce message s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message,
merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de distribution et
de la destruction du message. Merci.

This transmission (including any attachments) is intended solely for the use of the addressee(s)
and may contain confidential information including trade secrets which are privileged, confidential,
exempt from disclosure under applicable law and/or subject to copyright. If you are not an
intended recipient, any use, disclosure, distribution, reproduction, review or copying (either
whole or partial) is unauthorized and may be unlawful. E-mails are susceptible to alteration
and their integrity cannot be guaranteed. Aventis Pasteur shall not be liable for this e-mail
if modified or falsified. If you are not the intended recipient of this e-mail, please delete
it immediately from your system and notify the sender of the wrong delivery and the mail deletion.
Thank you.


Mime
View raw message