Hey James, That's great that you got the solution. I only tried the data that you sent on mailing list and that worked fine for me.
Anyway good luck for the rest work. Regards Ashish Vijaywargiya --- James Troup <[EMAIL PROTECTED]> wrote: > Ashish, > I have some more info. > > There is something wrong in the way the date was > parsed into an xml file > or there are some wrong characters. > > I split my file with 6397 lines up into 50 line > files put them into a > directory and imported. > > 60% of the files succeded. > > So now I just have to figure out what is wrong with > the other files and > correct them. > > Thanks for your help. > > James > > Ashish Vijaywargiya wrote: > > >Hey James, > > > >I have tried the content of your XML data with the > >online demo of opentaps at : > > > >Paste the XML content in the webtools import screen > : > >Complete XML document (root tag: > entity-engine-xml): > > > >I also have the opentaps 0.9.2 version. > >Let me test on that. > >I will let you know about that. > > > >Till then can you please send me the full details > of > >log message and which database are you using for > this > >?? > > > >Regards > >Ashish Vijaywargiya > > > > > >--- James Troup <[EMAIL PROTECTED]> wrote: > > > > > > > >>Hi, > >> > >>I am using opentaps 0.9.2 > >> > >>I since downloaded the daily build of opentaps; > same > >>error. > >> > >>I am attempting to checkout > >> > >> > >> > >http://svn.apache.org/repos/asf/incubator/ofbiz/trunk > > > > > >>ofbiz > >> > >>But it appears to be broken at the moment. > >> > >>James > >> > >>Ashish Vijaywargiya wrote: > >> > >> > >> > >>>Hey James, > >>> > >>>It's working fine for me in below two cases(in > >>>Webtools "XML Import to DataSource(s)"). > >>> > >>>I tried "Absolute Filename or URL:" > >>>& > >>>"Complete XML document (root tag: > >>> > >>> > >>entity-engine-xml):" > >> > >> > >>>Which version of Ofbiz are you using ??? > >>>Are you uploading the file on your local machine > or > >>> > >>> > >>on > >> > >> > >>>remote machine ??? > >>> > >>>Regards > >>>Ashish Vijaywargiya > >>> > >>>--- James Troup <[EMAIL PROTECTED]> wrote: > >>> > >>> > >>> > >>> > >>> > >>>>Hi guys, > >>>> > >>>>I am in the process of testing data importing > into > >>>>ofbiz and I am > >>>>running into an error. > >>>> > >>>>I have created a simple entity definition file > XML > >>>>file and it parses > >>>>the CSV file I have no problems; the resultant > >>>> > >>>> > >>file > >> > >> > >>>>looks like this > >>>> > >>>><?xml version="1.0" encoding="UTF-8"?> > >>>><entity-engine-xml> > >>>><Product productId="HT120032C2SS" description="2 > >>>> > >>>> > >>ARM > >> > >> > >>>>LEAF CURL SS" > >>>>productTypeId="FINISHED_GOOD" /> > >>>><Product productId="HT7016FB2" description="3 > ARM > >>>>LEAF CURL FB" > >>>>productTypeId="FINISHED_GOOD" /> > >>>><Product productId="HW209" description="Washer > 209 > >>>>brs" > >>>>productTypeId="FINISHED_GOOD" /> > >>>><Product productId="1ALCOIL3012" > >>>> > >>>> > >>description="ALUM. > >> > >> > >>>>COIL 54mmWx0.95mmTH" > >>>>productTypeId="FINISHED_GOOD" /> > >>>></entity-engine-xml> > >>>> > >>>>When I try to use the XML Import to DataSoure(s) > >>>> > >>>> > >>Web > >> > >> > >>>>Tool I get the > >>>>following error: > >>>> > >>>> * ERROR: Error parsing entity xml file: > >>>> org.xml.sax.SAXParseException: '=' expected > >>>> > >>>>I have also tried to import from the command > line > >>>>using > >>>> > >>>>java -jar ofbiz.jar -install -file=./product.xml > >>>> > >>>>but to no avail! > >>>> > >>>>Where do I start looking from here? > >>>> > >>>>Thanks, > >>>>James > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> > >>> > >>____________________________________________________________________________________ > >> > >> > >>>Do you Yahoo!? > >>>Everyone is raving about the all-new Yahoo! Mail. > >>>http://new.mail.yahoo.com > >>> > >>> > >>> > >>> > > > > > === message truncated === ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail. http://new.mail.yahoo.com
