Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > Theme Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 09-08-2010, 02:59 PM
CrackBerry Newbie
Device(s): 8530 VMUSA
Carrier: VMUSA
Pin: 321007DB
 
Join Date: Aug 2009
Posts: 6
Likes Received: 0
Thanked 0 Times in 0 Posts
Default need help debugging xml/svg tried for hours still seeing error whitespace expected

I have made a theme similar to this one using almost the exact same script. It is for a sliding dock on os 5.0. What I was trying to do with this one is make a 2 way sliding dock both horizontally and vertically. The erroneous script is almost an exact duplicate of the working script and I just can't find any problems with it. Any help will be greatly appreciated. Just a little more, the theme also includes hidden buttons for execution of clock and connections manager. I will post .thm files and .svg files of both my working horiz slider and erroneous vert/horiz shortly as I am working mobile and have no internet connection on my laptop right now. Thanks for your opinions and advice in advance.

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
  #2  
Old 09-08-2010, 05:08 PM
CrackBerry Abuser
Device(s): 9000 & 9700 (Bold)
Carrier: Cable & Wireless
 
Join Date: Nov 2009
Posts: 104
Likes Received: 0
Thanked 3 Times in 3 Posts
Default

i am having the same error when importing the svg to theme builder, and also have sliding dock and buttons in banner.

i hope someone know the answer.
Reply With Quote Tip this Post
    Thread Author   #3  
Old 09-08-2010, 05:33 PM
CrackBerry Newbie
Device(s): 8530 VMUSA
Carrier: VMUSA
Pin: 321007DB
 
Join Date: Aug 2009
Posts: 6
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

The first link is for the erroneous dual slider
The second and third links are to the working horiz slider. If you would like to export the second one feel free. It has the official os6 icons and has 18 icon sliding home ribbon.

h**p://&&&.filefactory.com/file/b34e268/n/2waytest123.svg
h**p://&&&.filefactory.com/file/b34e26a/n/OS_DOCK.svg
h**p://&&&.filefactory.com/file/b34e274/n/OS6_THEME.thm

Please help me get the dual slider working I really think it has the potential to be a neat theme.

tt www
Reply With Quote Tip this Post
  #4  
Old 09-08-2010, 07:43 PM
CrackBerry Genius
Device(s): iPhone 4s
Carrier: Verizon
 
Join Date: Nov 2009
Posts: 2,310
Likes Received: 88
Thanked 169 Times in 112 Posts
Default

what is the error? have you tried it in the simulator?
__________________
Reply With Quote Tip this Post
    Thread Author   #5  
Old 09-08-2010, 08:12 PM
CrackBerry Newbie
Device(s): 8530 VMUSA
Carrier: VMUSA
Pin: 321007DB
 
Join Date: Aug 2009
Posts: 6
Likes Received: 0
Thanked 0 Times in 0 Posts
Default Expected White Space

The error is expected white space when importing into theme builder. I cant get far enough to try on a simulator. I spent hours checking my syntax and I am just lost at what I need to do. If I didn't describe it well enough I am trying to build a theme that has a sliding icon tray. But not only do I want it to scroll left and right but I also want it to scroll up and down. Kind of like the new OS6 when I scroll the trackball down on the home screen I want my apps/folders to show up. Kind of pointless but I like the way it feels. I was also including a weather slot and invisible buttons behind the clock and the signal/wifi meter to control their cooresponding applications.
Reply With Quote Tip this Post
  #6  
Old 09-09-2010, 07:18 AM
CrackBerry User
Device(s): 9630 (Tour)
Carrier: Sprint/Nextel
 
Join Date: Oct 2009
Posts: 54
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Okay, I've run into this error at sometimes while importing a svg. Usually, it's something so minor. I've noticed a lot of the time that I get it, it's the codes that I hand write in. I usually write them up in a seperate notepad or notepadd++ file and then copy and paste them over to the one I need them for. Try checking all your tags. Check all your strings for the open and close tags.

Is this code, <animateTransform/>, the only codes you imported or are there others, like text or today?
Reply With Quote Tip this Post
  #7  
Old 09-09-2010, 07:43 AM
CrackBerry Master
Device(s): 9530 (Storm)
Carrier: Verizon
Pin: 306F0656
 
Location: Lockport Ny
Join Date: May 2009
Posts: 1,049
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Line 7250, after "_anim_lC you are missing a ' " ' after the C
__________________
AHazDesigns.com For Tutorials
Reply With Quote Tip this Post
  #8  
Old 09-09-2010, 08:06 AM
CrackBerry Master
Device(s): 9530 (Storm)
Carrier: Verizon
Pin: 306F0656
 
Location: Lockport Ny
Join Date: May 2009
Posts: 1,049
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

forgot to mention a few things:

- you have multiple occurrences of anim 1e
- the whole anim="blah blah" is not needed in svg
- the best way to find out where your error is:
1) CUT half of your written code, save and try importing into theme builder
- If the code imported into theme builder with no error then your problem was in the code you cut. Paste the code back into the svg and cut half of the code you previously cut, save, and reimport. If it worked you know the next step.
- If the code hadnt worked just do the same steps for the other part of the code.

************************************************** ************
**** REMEMBER IT IS ALWAYS BEST TO SAVE A COPY BEFORE DOING THIS ****
************************************************** ************
__________________
AHazDesigns.com For Tutorials
Reply With Quote Tip this Post
    Thread Author   #9  
Old 09-09-2010, 04:14 PM
CrackBerry Newbie
Device(s): 8530 VMUSA
Carrier: VMUSA
Pin: 321007DB
 
Join Date: Aug 2009
Posts: 6
Likes Received: 0
Thanked 0 Times in 0 Posts
Default Wow Thanks

Yeah I was missing that one quote. This is hilarious to me. Well now the svg imports but renders the error " Some portions of the svg may not be rendered correctly". Any advice? Can someone help me get my script right
Reply With Quote Tip this Post
  #10  
Old 09-09-2010, 04:17 PM
CrackBerry Master
Device(s): 9530 (Storm)
Carrier: Verizon
Pin: 306F0656
 
Location: Lockport Ny
Join Date: May 2009
Posts: 1,049
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

generally just check and see if it runs in the sim, if it does dont worry about it
__________________
AHazDesigns.com For Tutorials
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   need help debugging xml/svg tried for hours still seeing error whitespace expected

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes