[mary-users] Mary-users Digest, Vol 46, Issue 4

Marc Schroeder marc.schroeder at dfki.de
Thu Apr 8 13:14:16 CEST 2010


Hmm, no immediate idea... apparently the Xerces built into that version 
of Java doesn't support createTreeWalker...

what you could try is download the latest Xerces-J .jar files and put 
them into MARY TTS/java/ ... does that help?

Best regards,
Marc

On 08.04.10 12:19, giannis assiouras wrote:
>
> Hi Marc,
>
> I am running this on windows 7(32 bit), with:
>
> java version "1.6.0_18"
> Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
> Java HotSpot(TM) Client VM (build 16.0-b13,mixed mode,sharing)
>
> Giannnis
>
>
> 2010/4/8 <mary-users-request at dfki.de <mailto:mary-users-request at dfki.de>>
>
>     Send Mary-users mailing list submissions to
>     mary-users at dfki.de <mailto:mary-users at dfki.de>
>
>     To subscribe or unsubscribe via the World Wide Web, visit
>     http://www.dfki.de/mailman/cgi-bin/listinfo/mary-users
>     or, via email, send a message with subject or body 'help' to
>     mary-users-request at dfki.de <mailto:mary-users-request at dfki.de>
>
>     You can reach the person managing the list at
>     mary-users-owner at dfki.de <mailto:mary-users-owner at dfki.de>
>
>     When replying, please edit your Subject line so it is more specific
>     than "Re: Contents of Mary-users digest..."
>
>
>     Today's Topics:
>
>        1. Problem with SSML parsing (giannis assiouras)
>        2. Re: Problem with SSML parsing (Marc Schroeder)
>
>
>     ----------------------------------------------------------------------
>
>     Message: 1
>     Date: Thu, 8 Apr 2010 00:37:27 +0300
>     From: giannis assiouras <assiourai at gmail.com
>     <mailto:assiourai at gmail.com>>
>     Subject: [mary-users] Problem with SSML parsing
>     To: mary-users at dfki.de <mailto:mary-users at dfki.de>
>     Message-ID:
>     <m2z18671e5d1004071437h652881eagb6f6381f048f4d5e at mail.gmail.com
>     <mailto:m2z18671e5d1004071437h652881eagb6f6381f048f4d5e at mail.gmail.com>>
>     Content-Type: text/plain; charset="iso-8859-1"
>
>     Hi,
>
>     I am trying to send to MaryTTS  SSML-annotated text to be processed.I am
>     colling the process() method of socket Client with Inputype set to
>     "SSML",
>     but there is a problem when the server  is splitting RAWMARYXML data
>     into
>     chuncks.Here is the part of the log that may help:
>
>
>
>
>     2010-04-08 00:27:47,578 [RH 2] DEBUG IO         Reading XML input
>     (non-validating)...
>     2010-04-08 00:27:47,579 [RH 2] INFO  RH 2       Read:
>     <?xml version="1.0" encoding="UTF-8"?><speak>Goodbye!</speak>
>
>     2010-04-08 00:27:47,580 [RH 2] DEBUG IO         Read XML input:
>     <?xml version="1.0" encoding="UTF-8"?><speak>
>     Goodbye!
>     </speak>
>
>     2010-04-08 00:27:47,580 [RH 2] DEBUG R 2        Now converting the
>     following
>     input data from SSML to RAWMARYXML:
>     2010-04-08 00:27:47,581 [RH 2] DEBUG IO <?xml version="1.0"
>     encoding="UTF-8"?><speak>
>     Goodbye!
>     </speak>
>
>     2010-04-08 00:27:47,581 [RH 2] DEBUG R 2        Determining which
>     modules to
>     use
>     2010-04-08 00:27:47,581 [RH 2] DEBUG ModuleRegistry Module SSMLParser
>     converts SSML into RAWMARYXML (locale en_US, voice cmu-slt-hsmm)
>     2010-04-08 00:27:47,582 [RH 2] DEBUG ModuleRegistry found path through
>     modules
>     2010-04-08 00:27:47,582 [RH 2] INFO  R 2        Handling request
>     using the
>     following modules:
>     2010-04-08 00:27:47,582 [RH 2] INFO  R 2        - SSMLParser
>     (marytts.modules.SSMLParser)
>     2010-04-08 00:27:47,582 [RH 2] DEBUG R 2        Handing the
>     following data
>     to the next module:
>     2010-04-08 00:27:47,582 [RH 2] DEBUG IO <?xml version="1.0"
>     encoding="UTF-8"?><speak>
>     Goodbye!
>     </speak>
>
>     2010-04-08 00:27:47,582 [RH 2] INFO  R 2        Next module: SSMLParser
>     2010-04-08 00:27:47,595 [RH 2] DEBUG R 2        Now splitting the
>     following
>     RAWMARYXML data into chunks:
>     2010-04-08 00:27:47,595 [RH 2] DEBUG IO <?xml version="1.0"
>     encoding="UTF-8"?>
>     2010-04-08 00:27:47,603 [RH 2] ERROR RH 2       Processing failed.
>     org.w3c.dom.DOMException: NOT_SUPPORTED_ERR: The implementation does not
>     support the requested type of object or operation.
>         at org.apache.xerces.dom.DocumentImpl.createTreeWalker(Unknown
>     Source)
>         at marytts.server.Request.splitIntoChunks(Request.java:611)
>         at marytts.server.Request.process(Request.java:292)
>         at marytts.server.RequestHandler.run(RequestHandler.java:167)
>     2010-04-08 00:27:47,604 [RH 2] INFO  RH 2       Request couldn't be
>     handled
>     successfully.
>
>
>
>     Thank you in advance.
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>     http://www.dfki.de/pipermail/mary-users/attachments/20100408/db508282/attachment-0001.htm
>
>     ------------------------------
>
>     Message: 2
>     Date: Thu, 08 Apr 2010 07:55:16 +0200
>     From: Marc Schroeder <marc.schroeder at dfki.de
>     <mailto:marc.schroeder at dfki.de>>
>     Subject: Re: [mary-users] Problem with SSML parsing
>     To: mary-users at dfki.de <mailto:mary-users at dfki.de>
>     Message-ID: <4BBD6FC4.7000107 at dfki.de <mailto:4BBD6FC4.7000107 at dfki.de>>
>     Content-Type: text/plain; charset=UTF-8; format=flowed
>
>     Giannis,
>
>     here is the core issue:
>
>     On 07.04.10 23:37, giannis assiouras wrote:
>      > org.w3c.dom.DOMException: NOT_SUPPORTED_ERR: The implementation
>     does not
>      > support the requested type of object or operation.
>      >      at
>     org.apache.xerces.dom.DocumentImpl.createTreeWalker(Unknown Source)
>      >      at marytts.server.Request.splitIntoChunks(Request.java:611)
>
>     obviously the version of Xerces that you are using does not have the
>     expected capabilities. Can you please send full details of the operating
>     system and the java version that you are running this on?
>
>     Thanks,
>     Marc
>
>     --
>     Dr. Marc Schr?der, Senior Researcher at DFKI GmbH
>     Coordinator EU FP7 Project SEMAINE http://www.semaine-project.eu
>     Project leader for DFKI in SSPNet http://sspnet.eu
>     Project leader PAVOQUE http://mary.dfki.de/pavoque
>     Associate Editor IEEE Trans. Affective Computing http://computer.org/tac
>     Editor W3C EmotionML Working Draft http://www.w3.org/TR/emotionml/
>     Portal Editor http://emotion-research.net
>     Team Leader DFKI TTS Group http://mary.dfki.de
>
>     Homepage: http://www.dfki.de/~schroed <http://www.dfki.de/%7Eschroed>
>     Email: marc.schroeder at dfki.de <mailto:marc.schroeder at dfki.de>
>     Phone: +49-681-302-5303
>     Postal address: DFKI GmbH, Campus D3_2, Stuhlsatzenhausweg 3, D-66123
>     Saarbr?cken, Germany
>     --
>     Official DFKI coordinates:
>     Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
>     Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany
>     Geschaeftsfuehrung:
>     Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
>     Dr. Walter Olthoff
>     Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
>     Amtsgericht Kaiserslautern, HRB 2313
>
>
>     ------------------------------
>
>     _______________________________________________
>     Mary-users mailing list
>     Mary-users at dfki.de <mailto:Mary-users at dfki.de>
>     http://www.dfki.de/mailman/cgi-bin/listinfo/mary-users
>
>
>     End of Mary-users Digest, Vol 46, Issue 4
>     *****************************************
>
>
>
>
> _______________________________________________
> Mary-users mailing list
> Mary-users at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/mary-users

-- 
Dr. Marc Schröder, Senior Researcher at DFKI GmbH
Coordinator EU FP7 Project SEMAINE http://www.semaine-project.eu
Project leader for DFKI in SSPNet http://sspnet.eu
Project leader PAVOQUE http://mary.dfki.de/pavoque
Associate Editor IEEE Trans. Affective Computing http://computer.org/tac
Editor W3C EmotionML Working Draft http://www.w3.org/TR/emotionml/
Portal Editor http://emotion-research.net
Team Leader DFKI TTS Group http://mary.dfki.de

Homepage: http://www.dfki.de/~schroed
Email: marc.schroeder at dfki.de
Phone: +49-681-302-5303
Postal address: DFKI GmbH, Campus D3_2, Stuhlsatzenhausweg 3, D-66123 
Saarbrücken, Germany
--
Official DFKI coordinates:
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany
Geschaeftsfuehrung:
Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313


More information about the Mary-users mailing list