×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jul 2006
    Location
    Wieliczka, Poland
    Posts
    64

    Exclamation XML large attributes CParser problem

    I found a problem when using CParser for parse XML files with large attributes - larger than 12kB. Element which has a large attribute is not notified to the application but part of it content is notified as a parent element content. I created wiki page with description how to fix this problem by using different parser plugin:
    http://www.developer.nokia.com/Commu...arsing_plugins
    Also I added short description how to use string table to optimize XML parsing by avoiding lots of strings comparisions.
    www.mbrsoftware.com

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: XML large attributes CParser problem

    Nice magic, thanks for sharing.
    Just an FYI: there is a tool for generating string tables, epoc32\tools\stringtable.pl, usage is here: http://library.developer.nokia.com/i...C784A978A.html
    What is not really written there is that the keywords fstringtable and stringtable are determining case sensitivity, f=folding=case insensitive. And the location of the script file is also bad (comes from some PDK apparently)

  3. #3
    Registered User
    Join Date
    Jan 2009
    Location
    Melbourne, Australia
    Posts
    2,571

    Re: XML large attributes CParser problem

    Excellent. Is this done? (it still has "Draft" category against it)

  4. #4
    Registered User
    Join Date
    Jul 2006
    Location
    Wieliczka, Poland
    Posts
    64

    Re: XML large attributes CParser problem

    I updated article, and now it is done.
    www.mbrsoftware.com

  5. #5
    Registered User
    Join Date
    Jan 2009
    Location
    Melbourne, Australia
    Posts
    2,571

    Re: XML large attributes CParser problem

    Thanks, yes much improved.

Similar Threads

  1. How to accommodate large large text data in CAknListQueryDialog?
    By slinx in forum Symbian User Interface
    Replies: 1
    Last Post: 2012-01-25, 05:18
  2. Replies: 9
    Last Post: 2009-12-15, 13:47
  3. CParser Problem
    By contra03 in forum Symbian
    Replies: 14
    Last Post: 2009-11-03, 06:27
  4. the problem about CParser
    By denniswang in forum Symbian
    Replies: 11
    Last Post: 2009-06-30, 12:38
  5. problem with searching services and attributes
    By miriwiri in forum Bluetooth Technology
    Replies: 0
    Last Post: 2007-12-17, 11:23

Posting Permissions

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