-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wont Read Onix Feed #5
Comments
I am not sure what might the problem be, but can you try converting the ONIX file to reference tags: ONIX::Normaliser.process("oldfile.xml", "newfile.xml") If this converts it to reference tags, you should be able to iterate over the products in the file. |
Unfortunately Normalizing doesn't seem to help... but I think I've figured out the issue. Would this explain the issues i'm having? |
Making progress,
The normalizer appears to be looking in the temp directory for my dtd file when it didn't move it there. The dtd file is still back in the zip folder. |
okay after manually copying 3 dtd files (interdependent dtd's?) Ive fixed that error, but he xslt conversion still seems to be failing, I think its because the xslt script distributed with the gem is for ONIX 2.1 |
Ive got an onix feed that is sent to me via a zip file in an email. The zip file contains a 100+ mb xml file and a dtd file. The top of the file looks like this:
in spite of the fact that this file has well over 10,000 products in it, the gem wont read any of them.
The each loop does nothing, it never fires, its as if the XML file had zero products in it.
Ive spent several days here, heres the entire algorithm for reference:
The text was updated successfully, but these errors were encountered: