You Are Here:

Community: Developer Discussion Boards

#1 Old My SVG pic shows in WTK 2.5.1 but not on the S60 3rd FP1 emulator. Any insights? - 2008-03-17, 16:08

Join Date: Dec 2004
Posts: 23
ieising
Offline
Registered User
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
Reply With Quote

#2 Old Re: My SVG pic shows in WTK 2.5.1 but not on the S60 3rd FP1 emulator. Any insights? - 2008-03-17, 19:37

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
What are the contents of xlink:href attribute in the SVG file?

Hartti
Reply With Quote

#3 Old Re: My SVG pic shows in WTK 2.5.1 but not on the S60 3rd FP1 emulator. Any insights? - 2008-03-18, 08:15

Join Date: Dec 2004
Posts: 23
ieising
Offline
Registered User
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
Reply With Quote

#4 Old Re: My SVG pic shows in WTK 2.5.1 but not on the S60 3rd FP1 emulator. Any insights? - 2008-03-18, 18:12

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
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
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
mmfcodec.h in s60 3rd edition FP1 ecio83 Symbian Media (Graphics & Sounds) 7 2009-06-13 14:22
Q: How to use NCF 1.2 bluetooth with S60 3rd Edition for Symbian C++ MR jimgilmour1 Bluetooth Technology 35 2009-04-11 15:36
Connection to USB using dongle in S60 3rd ed FP1 Shveta4321 Symbian Networking & Messaging 2 2008-03-09 11:00
s60 emulator problems with wtk 2.5.1 siva_guduru Mobile Java General 1 2007-09-24 08:07
What is going on with Vibration on S60? amd_rikus Mobile Java General 3 2006-06-16 01:29

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d18645X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ