Git Product home page Git Product logo

Comments (11)

angelozerr avatar angelozerr commented on August 27, 2024

@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.

tenluap avatar tenluap commented on August 27, 2024

Please find attached are the files i used

kll Page.zip

from vscode-xml.

fbricon avatar fbricon commented on August 27, 2024

Can you please share your file association settings? Also, give the latest vsix build a try.

from vscode-xml.

tenluap avatar tenluap commented on August 27, 2024

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.

fbricon avatar fbricon commented on August 27, 2024

Latest build gives even different errors, no completion at all:

screen shot 2018-10-28 at 10 48 29 am

Look like a severe regression server-side

from vscode-xml.

tenluap avatar tenluap commented on August 27, 2024

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.

angelozerr avatar angelozerr commented on August 27, 2024

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.

fbricon avatar fbricon commented on August 27, 2024

Upstream issue: eclipse/lemminx#177

from vscode-xml.

tenluap avatar tenluap commented on August 27, 2024

Can I get the latest VSIX Build with the fix from Lsp4xml repo, so i can test it out

from vscode-xml.

fbricon avatar fbricon commented on August 27, 2024

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.

tenluap avatar tenluap commented on August 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.