Importing the same text (DemoProduct.xml content) in R4 works well
Jacques
From: "Jacques Le Roux" <[email protected]>
Actually the weird thing is that the problem appears when you copy/paste the text from the file to the area on Webtools/XML import
page, on Windows and on Linux as well.
So trying to get rid of the BOM char in file is a nonsense. Actually I even think that there is no BOM char in the file (since
Scite would detect it else, and because it you tried both encoding with Scite and save the file, the file size does not change).
Acutally it's no a big problem, only a weird issue. Which may hide something more annoying maybe, that's why I tried to
understand... Enough for me today anyway...
Jacques
From: "Jacques Le Roux" <[email protected]>
I just used Webtools/XML import.
I tried on Linux : same issue. Not that, for the moment, it's the sole file that I found that has this problem (the BOM -
http://en.wikipedia.org/wiki/Byte-order_mark- in content I mean, of course on Linux I have no "\" in path issue :o). It sounds
like a special character has slipped in. But I don't know how to get rid of it. I tried Scite which is capable of doing change
from UTF-8 BOM to UTF-8 without BOM and vice-versa, but noways so far...
Jacques
From: "David E Jones" <[email protected]>
How are you doing the import (ie webapp and which page, or command line and
which args, etc)?
-David
On Feb 7, 2009, at 2:37 PM, Jacques Le Roux wrote:
On *Windows* (Xp sp3), I tried to import
C:\ofbizRun\applications\ecommerce\data\DemoProduct.xml
and I add to use
C:/ofbizRun/applications/ecommerce/data/DemoProduct.xml
BTW I'm facing also an UTF-8 BOM problem when I want to import the content of this file using the text import option. I switch
to Ubuntu 8.10 to test (I should set another machine with a KWM I have, but it's too noisy, an Pentium HT proc, a kind of
electric heater. actually ;o)
The error I get is
ERROR: Error parsing entity xml file:
javolution.xml.stream.XMLStreamException: ';' expected (at line 1, column 0)
Jacques
From: "David E Jones" <[email protected]>
Could you be more specific?
-David
On Feb 7, 2009, at 1:32 PM, Jacques Le Roux wrote:
XML Import on Windows does not support anymore \ as separator you must /
This is a regression
Jacques