You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-fr@cocoon.apache.org by Sébastien KLIMA <se...@4dconcept.fr> on 2008/04/28 09:27:47 UTC
Problème de caractères XML invalides
Bonjour,
J'ai des instances XML qui sont stockées dans une base de données et qui
comportent des caractères comme le tiret insécable (–). Lorsque
je requête la base à l'aide de la taglib esql, j'obtiens
systématiquement l'erreur suivante :
Caused by: org.xml.sax.SAXParseException: An invalid XML character
(Unicode: 0x13) was found in the element content of the document.
at
org.apache.excalibur.xml.impl.JaxpParser.fatalError(JaxpParser.java:463)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:315)
at
org.apache.cocoon.components.language.markup.xsp.XSPUtil.includeInputSource(XSPUtil.java:275)
... 65 more
Caused by: org.xml.sax.SAXParseException: An invalid XML character
(Unicode: 0x13) was found in the element content of the document.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
... 78 more
Pourtant lorsque j'utilise des parsers XML en dehors du framework
cocoon, je n'obtiens pas d'erreurs sur ces instances XML.
Quelqu'un aurait une solution ?
Cordialement,
--
4Dconcept au Salon du Livre
Au Parc des Expositions, Porte de Versailles, du 14 au 19 mars 2008
Rendez-vous sur notre stand n°A072 (Hall 1, espace lectures de dem@in).
Sébastien KLIMA
DIS
41- 43 Avenue du Centre 78180 Montigny Le Bretonneux
Tél : 01.61.08.50.24 - Standard : 01.61.08.50.20 - Fax : 01.61.38.24.41
www.4dconcept.fr <http://www.4dconcept.fr>
---------------------------------------------------------------------
Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/
Pour vous desinscrire : mailto:users-fr-unsubscribe@cocoon.apache.org
Autres commandes : mailto:users-fr-help@cocoon.apache.org