Better error diagnostics when XLIFF file import fails
| Originator: | nikita.zhuk | ||
| Number: | rdar://18423290 | Date Originated: | 23-Sep-2014 10:26 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | 6.0.1 |
| Classification: | Enhancement | Reproducible: | Always |
Summary: Currently I have a situation where I've exported a XLIFF file from Xcode, added a single localization to it and try to import that file back to Xcode. When importing the file, I get an error dialog from Xcode with the following text: "XLIFF id attribute missing". No other details are provided. Since the XLIFF file was generated by Xcode itself, all required "id" attributes should be there. With this error description, I don't have any way of knowing what went wrong and what to do to fix the issue. Steps to Reproduce: 1. Install Xcode 6.0.1 2. Create a project with English-only resources 3. Export resources to a XLIFF file from Editor -> Export For Localization… 4. Add a single localization, add "target-language" attribute 5. Import XLIFF with Editor -> Import Localizations… Expected Results: 6. Everything is imported without errors, OR if there is something wrong with the XLIFF file, a detailed error report is produced (either in Xcode or even just in system Console) Actual Results: 6. An error dialog is displayed with the following string: "XLIFF id attribute missing". No other details is given. System console doesn't give any extra details. There's no enough info for fix the issue. Version: Notes: Configuration: Xcode 6.0.1 Mac OS X 10.9.5 Also tried with the latest Xcode 6.1 beta - same problem. Attachments:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!