×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    23

    My SVG pic shows in WTK 2.5.1 but not on the S60 3rd FP1 emulator. Any insights?

    Hi,

    I have a splash screen that is in SVGT 1.1+ (using gradients) which works perfectly in the WTK 2.5.1 and the SVG itself is also shown in NB 6.0.

    When I run the app on the S60 3rd edition FP1 emulator, I get an exception reporting the following exception:

    java.io.IOException: Invalid attribute \nUSE element has invalid xlink:href attribute
    - com.nokia.microedition.m2g.M2GDocument._createDocument(), bci=0
    - com.nokia.microedition.m2g.M2GDocument.<init>(), bci=86
    - com.nokia.microedition.m2g.M2GDocument.buildDocument(), bci=33
    - com.nokia.microedition.m2g.M2GSVGImage.buildImage(), bci=79
    - javax.microedition.m2g.SVGImage.createImage(), bci=4
    - com.sticktailgames.iff.frontend.IFF.initialize(), bci=34
    - com.sticktailgames.iff.frontend.IFF.startApp(), bci=1
    - javax.microedition.midlet.MIDletInvoker.invokeStartApp(), bci=1
    - com.symbian.j2me.midp.runtimeV2.Application.startAction(), bci=13
    - com.symbian.j2me.midp.runtimeV2.Application.startRequest(), bci=83
    - com.symbian.j2me.midp.runtimeV2.Application.event(), bci=110
    - com.symbian.j2me.midp.runtimeV2.ApplicationEvent.dispatch(), bci=2
    - com.symbian.j2me.midp.runtimeV2.ApplicationThread.run(), bci=23

    The interesting part of this is that the SVG file is actually the result of converting an SVG file to SVGT using the SVG2SVGT tool provided with the S60 SDK.

    Any thoughts on this? Any bugs that I should be aware of?

    Iwan

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: My SVG pic shows in WTK 2.5.1 but not on the S60 3rd FP1 emulator. Any insights?

    What are the contents of xlink:href attribute in the SVG file?

    Hartti

  3. #3
    Registered User
    Join Date
    Dec 2004
    Posts
    23

    Re: My SVG pic shows in WTK 2.5.1 but not on the S60 3rd FP1 emulator. Any insights?

    The line causing the problems is:

    <use transform="matrix(1 0 0 1 0.8 0.8)" xlink:href="#title"/>

    Appearantly the 'use' doesn't allow for an xlink:href?

    Iwan

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: My SVG pic shows in WTK 2.5.1 but not on the S60 3rd FP1 emulator. Any insights?

    Now I am on thin ice as I do not know enough of SVG. But. It could be also that the "#title" as the value of the xlink:href attribute causes the problems..

    Hartti

Similar Threads

  1. mmfcodec.h in s60 3rd edition FP1
    By ecio83 in forum Symbian Media (Closed)
    Replies: 7
    Last Post: 2009-06-13, 13:22
  2. Replies: 35
    Last Post: 2009-04-11, 14:36
  3. Connection to USB using dongle in S60 3rd ed FP1
    By Shveta4321 in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2008-03-09, 10:00
  4. s60 emulator problems with wtk 2.5.1
    By siva_guduru in forum Mobile Java General
    Replies: 1
    Last Post: 2007-09-24, 07:07
  5. What is going on with Vibration on S60?
    By amd_rikus in forum Mobile Java General
    Replies: 3
    Last Post: 2006-06-16, 00:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×