Not getting autosuggest of attributes from XLIFF modules in XLIFF files
Posted: Wed Jun 07, 2017 9:09 pm
When editing a new XLIFF file, I get autosuggestions of attributes in the Xliff Core module, and autosuggestion of elements from both core and optional xliff modules, but I don't get auto suggestions for attributes that are in modules.
This happens either if I reference the namespace or not.
The xsd is hooked correctly because if I mistype the value of the attribute I get the correct validation error.
Happens on Oxygen v19
Step to reproduce:
Same error happens even if I specify the Namespace for the module, for example:
Even with this code, if I start typing "fs:" I get no autosuggestion.
Not sure where the issue is, whether is in Oxygen or in the XLIFF framework implementation.
Thank you
Simone
This happens either if I reference the namespace or not.
The xsd is hooked correctly because if I mistype the value of the attribute I get the correct validation error.
Happens on Oxygen v19
Step to reproduce:
- Create a new XLIFF 2.0 file from template. You get this file
Code: Select all
<xliff version='2.0'
xmlns='urn:oasis:names:tc:xliff:document:2.0' srcLang="en" trgLang="fr">
<file id="f1">
<unit id="u1">
<segment>
<source></source>
</segment>
</unit>
</file>
</xliff> - Start typing a < after the file element
- You get a dropdown which contains all allowed elements, from the main ns and from all other namespaces
- Now start typing something inside the unit element: here you only get attribute defined in the main NS, not from modules
Same error happens even if I specify the Namespace for the module, for example:
Code: Select all
<xliff version='2.0'
xmlns='urn:oasis:names:tc:xliff:document:2.0'
xmlns:fs='urn:oasis:names:tc:xliff:fs:2.0'
srcLang="en" trgLang="fr">
<file id="f1">
<unit id="u1" >
<segment>
<source></source>
</segment>
</unit>
</file>
</xliff>
Not sure where the issue is, whether is in Oxygen or in the XLIFF framework implementation.
Thank you
Simone