[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: problem with XLIFF 1.2 schemas: obsolete URL in our xml.xsd import (FW: xliffroundtriptool)
Hello, While using my DITA-XLIFF roundtrip plug for the DITA Open Toolkit, Jeroen Boots discovered a problem with the XLIFF 1.2 Strict XML Schema. We import the W3C xml.xsd the following way: <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/> The correct URL is: schemaLocation="http://www.w3.org/2001/03/xml.xsd" While all of the processing I do with XLIFF 1.2 works just fine. This causes a fatal error for Jeroen, though he's able to work-around the problem by updating the import as above. I am not by any stretch of the imagination an expert on redirects. So I cannot explain why this error is forgiven in some environments (like all of mine), and not forgiven in others (like Jeroen's). Any thoughts on causes or next steps regarding our XLIFF 1.2 schemas? Thanks, Bryan From: Bryan Schnabel [mailto:bryan.schnabel@bschnabel.com] ----- Forwarded Message ----- Hi Bryan, Not a problem, please go ahead and forward the issue. I am happy to contribute (even if it is in an insignificant manner). I will do some more robust testing in the near future and if I run into trouble I will surely contact you. Once again, appreciate your help Bryan, take care, Jeroen From: Bryan Schnabel [mailto:bryan.schnabel@bschnabel.com] Hi Jeroen, I'm happy that you were able to troubleshoot the problem. I am surprised that we have not seen this error with others. I guess the redirect is less fatal on some systems. Nonetheless I should look into this problem. I suspect I will need to bring this up with the XLIFF TC (not just a problem with my tool). Do you mind if I forward this to the XLIFF TC? Thanks for giving me the opportunity to learn more about my tool. Any future questions or comments will be greatly appreciated. Thanks, Bryan From: Jeroen Boots <Jeroen.Boots@planonsoftware.com> Bryan, I appreciate your help. I was online when I ran the tool. I noticed the error about not being able to find the schema. When I copied & pasted the URL (http://www.w3.org/2001/xml.xsd) in my browser, it returned a Bad Gateway error. I checked with one of my developer friends who explained to me the process of forwarding the request from one location to the next. The physical file seems to reside in a different location. I found a likely hit on the internet, and tried that in the following file: C:\DITA-OT1.5.4\demo\ditafromxliff\in\xliff-core-1.2-strict.xsd Line 33: <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/> [changed …/2001/xml.xsd into …/2001/03/xml.xsd] That did the trick. Thanks & regards, Jeroen From: Bryan Schnabel [mailto:bryan.schnabel@bschnabel.com] Hi Jeroen, I ran your XLIFF file on my system and it worked perfectly. I zipped the results and added them to this note. Looking at your error log, it seems the OT could not find the needed schemas. Were you by any chance not online when you ran the test? I've seen this before. If that is the case, could you please try to run the test while having access to the internet? If that is not possible, another alternative would be to supply all of the schemas that the OT references. This might be difficult. If you run the import again and still have the failure, or if that is not the cause, please let me know, and I will happily try more testing. By the way, I really like your documentation. Looking forward to hearing back from you. Thank you, Bryan From: Jeroen Boots <Jeroen.Boots@planonsoftware.com> Hi Bryan, that would be great! Thanks in advance. I’m also enclosing a manual that describes the process, most of which is copied from your instructions. This may help understand the steps I took, as I cannot rule out that a mistake was made by me ;-) Thanks Bryan, regards Jeroen From: Bryan Schnabel [mailto:bryan.schnabel@bschnabel.com] Hi Jeroen, I'm happy to troubleshoot this. I'll try to look into it this week. - Bryan From: Jeroen Boots <Jeroen.Boots@planonsoftware.com> Hi Bryan, My name is Jeroen Boots, I’m a Technical Writer from the Netherlands and I have heard about your DITA to XLIFF transformation tool. I have downloaded and installed the tool and managed to create an XLIFF file, even got that translated, but on conversion from XLIFF to DITA, I get two errors which I cannot resolve. Would it be possible for you to help me resolve this issue. We are hoping to be able to use the xliffroundtriptool for our translation process. I’m including the error message, and the translated xml document. Your help is greatly appreciated! Kind regards,
Wijchenseweg 8 Nederland
Denk aan het milieu voordat u deze e-mail print. |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]