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

Module resolution #22

Open
apb2006 opened this issue Jan 13, 2024 · 1 comment
Open

Module resolution #22

apb2006 opened this issue Jan 13, 2024 · 1 comment

Comments

@apb2006
Copy link
Member

apb2006 commented Jan 13, 2024

Extension Version
0.2.7

Description

import module namespace ns = 'http://www.example.com/';
ns:ff()

Screenshots
If applicable, add screenshots to help explain your problem.

VS Code Version
What version of VS Code are you using?

Operating System
What OS (and version) are you using?

@apb2006
Copy link
Member Author

apb2006 commented Jan 27, 2024

Related. Handling of Java functions. E.g. [XPST0008] "loadPDF#1": undeclared function

declare namespace Loader ="java:org.apache.pdfbox.Loader"; 
declare namespace RandomAccessReadBufferedFile = "java:org.apache.pdfbox.io.RandomAccessReadBufferedFile";

declare function pdfbox:open($pdfpath as xs:string){
  Loader:loadPDF( RandomAccessReadBufferedFile:new($pdfpath))
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant