|Get IDocument from IFile [message #1731019]
||Mon, 02 May 2016 09:24
| Mehdi Alouache
Registered: April 2016
I am currently trying to retrieve an IDocument from an IFile instance.
Information about the current situation :
- My Editor instantiates a class, providing an IFile
- This class parses the IFile in order to find XML references to other files (not necessarily opened in the editor).
- The class tries to instantiates new IFiles from them (succeeds), but fails when trying to get IDocument from the IFile.
I found some topics online dealing with IDocumentProvider, but unfortunately that's not working for me (returns null).
The URI parsed from the XML file are verified and correctly built, so I don't know where does the problem comes from.
Any help would be appreciated.
Thanks for reading
[Updated on: Mon, 02 May 2016 09:24]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01855 seconds