Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Export as xml - Parsing errors

    The export as xml feature provided on the grid is not working properly.
    It gives parsing errors on the IE7 browser

    Code:
    The XML page cannot be displayed 
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. 
    
    
    --------------------------------------------------------------------------------
    
    Missing equals sign between attribute and attribute value. Error processing resource 'file:///C:/Documents and Settings/arc...
    
        <Name Xyz >Totals</Name Xyz >
    ----------------^

    #2
    Doesn't happen with the samples or with a wide variety of dataset exported by the many Smart Gwt applications we've built. Show your DataSoirce and dataset and see the FAQ for the other information to post.

    Comment


      #3
      Hi,

      I am able to find out the problem.
      The problem is the titles in the grid are having multiple words.
      eg. "Contact Details" , "Point Id" , "Point Name" ,"Change Comment" etc..

      Now when the grid is exported as xml, It does not support multiword tag.

      It creates a tag like
      <Contact Details>xyz</Contact Details>
      Now, the browser treats Details as an attribute of the Contact tag .
      So naturally it gives syntax error saying " Missing equals sign between attribute and attribute value".

      So that means I can not give multiword titles with spaces in smart gwt??
      Or while exporting smart gwt should remove the sapces between the words and create the xml as below.

      <ContactDetails>xyz</ContactDetails>

      Please provide me some solution for this?

      For e.g. - In smart gwt showcase we have Grids ->Appearence ->Grid Top Header , where we have such kind of title - "Member G8".
      Here, we won't be able to export the data in xml
      Last edited by akhila; 2 Mar 2010, 02:04.

      Comment


        #4
        Hi,

        I haven't heard from the forum on this?

        I guess this is a known bug in smartgwt.
        If I want to use export as XML I should not put space between my title.
        This would make my bigger title unreadable.

        Comment


          #5
          Yes, and a fix is in progress

          Comment

          Working...
          X