Skip to content
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

The 'al-object-target' attribute is not declared #24

Closed
larswestman opened this issue Sep 6, 2019 · 4 comments
Closed

The 'al-object-target' attribute is not declared #24

larswestman opened this issue Sep 6, 2019 · 4 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@larswestman
Copy link

I get this error when trying to import an xlf file: Imported XML cannot validate with the schema: The 'al-object-target' attribute is not declared.

image
LogTrade Connect.g.zip

BC15.0.35903.0-se
al-4.0.170493.vsix

I would really appriciate if you could prioritize this since it's a blocker for the BC15 version of our app.

Thanks!

@StefanMaron StefanMaron self-assigned this Sep 9, 2019
@StefanMaron StefanMaron added the bug Something isn't working label Sep 9, 2019
@StefanMaron StefanMaron added this to the 1.0.3.2 milestone Sep 9, 2019
@StefanMaron
Copy link
Collaborator

Do you know if this attribute is important for vs code in the translated xlf file? Currently i do not have a fall release container available so i cant test it myself

@larswestman
Copy link
Author

VS Code creates that attribute for page- and table extensions so the import needs to handle it at least. It looks as it's a reference to the ID of the page or table that the extension extends. It's not the object ID though. It's the trans-unit-id. Since VS Code creates this my guess is that you need to do it as well.

I think you need to keep track on the project if it's before platform 4.0 or if it's 4.0 or later. This means that you would need to create the project first (and setup the new option field that determines format) and after that do the import so the correct xml port can run (I guess you need a separate xml-port since the layout has changed).

@larswestman
Copy link
Author

I attached an example as a zip file in my original post so you can try that file

@larswestman
Copy link
Author

Worked like charm. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants