Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Error saving transformation file
Go
New
Search
Notify
Tools
Reply
  
Error saving transformation file
 Login/Join
 
Silver Member
posted
Hi All,

I got the following error when I try to save a transformation.

Could not load Error on line 1: Content is not allowed in prolog for {1}.{2}.

any idea what to check?

Thanks

Cokey


iWay 5.5, 6.01
Windows
all output (Excel, HTML, PDF)
 
Posts: 45 | Registered: April 07, 2010Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Click on the Advanced Search link at the top of this forum page and search on "Content is not allowed in prolog" (you must first login to the IBI Tech Support site). The search will display a number of cases having to do with this error message. One of them might apply to your situation.


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Reply With QuoteReport This Post
Gold member
posted Hide Post
Hi,
That's an XML parsing error of course, and usually means that your xml is missing an XML declaration.
I don't know how your tranform could be missing the declaration though...
Try looking at the template tab in transformer, and see if your transform's xml looks well formed?


iWay 5.5 SMSP1 and 6.0.1 on Intel/Linux
 
Posts: 59 | Location: Birmingham, Blighty | Registered: October 30, 2007Reply With QuoteReport This Post
Silver Member
posted Hide Post
I think I find what the issue is, but don't understand how and why it happened.

The xml file that I used for input dictionary is split from a iterator object. I saved it as xml file for the following transform object. But the xml file itself has encoding="UTF-16". I also selected UTF-16 when specifying the file. As soon as I changed it back to UTF-8, it works just fine.

Any idea?


iWay 5.5, 6.01
Windows
all output (Excel, HTML, PDF)
 
Posts: 45 | Registered: April 07, 2010Reply With QuoteReport This Post
Member
posted Hide Post
In your transformer, When you select the filename in the "open" dialog box for Input, the last option will be encoding. Choose UTF-16. This should solve your problem and you need not change the file content.

Nan
 
Posts: 23 | Registered: April 21, 2008Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Error saving transformation file

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.