Comments (11)
@ehigiepaul I improved XML Schema in server but I don't know if vscode-xml use it.
Please share your xml + schema in order I reproduce your problem. Thanks!
from vscode-xml.
Please find attached are the files i used
from vscode-xml.
Can you please share your file association settings? Also, give the latest vsix build a try.
from vscode-xml.
Here is the file association setting I used and I downloaded the latest build, still the same result
"xml.fileAssociations": [{ "systemId": "d:\\USER\\Projects\\Clients\\tracker\\tracker\\schema\\tns.xsd", "pattern": "**/**/*.xml" }],
from vscode-xml.
Latest build gives even different errors, no completion at all:
Look like a severe regression server-side
from vscode-xml.
I got the same issue. I solved that by
replacing this line
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.nativescript.org/tns.xsd" id="tns" targetNamespace="http://schemas.nativescript.org/tns.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
with this
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
Just remove the namespace and targetNamespace attributes from the xsd file
But i still get the swirling line on the Page tag, I get completion on the top element but still not on the nested.
Here is the update zip file with the fixed xsd file
kll Page.zip
from vscode-xml.
Please create an issue at https://github.com/angelozerr/lsp4xml/issues
I suspect the use of xs:extension causes the problem (perhaps which is not supported?), but I have not sure.
from vscode-xml.
Upstream issue: eclipse/lemminx#177
from vscode-xml.
Can I get the latest VSIX Build with the fix from Lsp4xml repo, so i can test it out
from vscode-xml.
Sorry, but our CI server is currently down and no longer builds the vsix files.
Your best chance to get a new binary quickly is to build it yourself: follow steps 1-5, then, from the vscode-xml directory, execute:
npm install -g vsce
vsce package
It'll generate a new visx file under vscode-xml.
from vscode-xml.
no problem thank, I just changed the org.eclipse.lsp4xml-all.jar file in the extension and it worked.
Thanks for your support.
from vscode-xml.
Related Issues (20)
- Autocomplete ignoring imported xsd namespace prefix on xsd files HOT 2
- [0.27.0] bad CPU type in executable on OSX (Intel) HOT 7
- How to Set Up a Proxy for Loading XSD Files Configured in XML in VSCode?
- Formatter broken when use socks5 proxy HOT 2
- no se activa
- AVX2 HOT 2
- Formatter breaks hexBinary by inserting newline and spaces HOT 6
- unable to start red hat xml extention HOT 1
- Format: prevent text only content to be inlined with closing tag HOT 3
- "use" attribute not allowed on Attibute HOT 1
- lemminx-alpine server not found HOT 3
- formatting partially truncates trailing blanks HOT 2
- Formatting: "xml.format.splitAttributes" mixes orthogonal configurations
- Alpine support HOT 5
- Parser vs complex type with more than 5,000 nodes HOT 1
- `Error: No unique release file found!` when activating extension on Nix host HOT 3
- editor.formatOnSaveMode option is not respected HOT 7
- `Insert only required elements` adds optional elements HOT 3
- Add support for XML references accross multiple XML files HOT 1
- Runtime Status HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-xml.