Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Kees Duvekot
    @kduvekot
    lets see what will happen next ... hopefully it doesn't come back
    Angelo
    @angelozerr
    @kduvekot I suggest you that you create an issue at https://github.com/redhat-developer/vscode-xml/issues and you attach a zip with your vscode folder (settings, XML, XSD files, etc). It will help us to try to reproduce your problem. Thanks!
    joshua jared
    @joshuajared007_gitlab

    Hello there,

    my name is Joshua I work for Atsec. We have made a few changes to your XML Language Support Plugin, from our Perspective we would say Improvements, as it is now easier to read the XML. This Format is similar to Oxygen, which we used before to edit XML Files.

    I hope we can find a solution together.

    Best regards,
    Joshua Roach

    Angelo
    @angelozerr
    Hi Joshua, thank(s for your feedback, let's continue to discuss about this feature in angelozerr/lsp4xml#594
    depascalis
    @depascalis
    Is it possible to display information available in plugin.xmlof a plugin? For example, when configuring the exec-maven-plugin and if I hover over <mainClass> there's no description shown.
    In the example above it looks like all the necessary data is available in exec-maven-plugin-1.6.0.jar\META-INF\maven\
    Fred Bricon
    @fbricon
    @depascalis not yet, but eventually
    depascalis
    @depascalis
    @fbricon ok thank you
    @fbricon One other thing, is this the right channel to ask about autocompletion for the css vendor prefix "-fx"? If so, what's the status on that?
    Fred Bricon
    @fbricon
    css completion is, AFAIK, provided by the html language server, which is a stock vscode extension. So no, we're not involved in that, you'll have better luck asking on https://github.com/microsoft/vscode/issues
    depascalis
    @depascalis
    Ok thanks. I think it will be quicker to solve with emmet than doing a feature request ;) I'm just a bit surprised that I can't find anyone that has looked in to this yet.
    oh wait I was a bit unclear, I'm talking about JavaFX
    andrewnottaviano
    @andrewnottaviano
    Hey I've got a quick question. I installed the xml extension in vscode and set the path in my settings.json for xml.java.home and set my xml.fileAssociations to point to my xsd schema and I have Java 11 installed, yet the plugin does not seem to be working, even after reloading the window. Am I missing something?
    Fred Bricon
    @fbricon
    @andrewnottaviano nothing works or just file association?
    @depascalis I have no idea what you expect from vscode-xml in the context of JavaFX (never used it). You need to be more specific
    depascalis
    @depascalis
    @fbricon I'm sorry, I saw your name and thought I was in the channel for Java Language Support, my bad.
    andrewnottaviano
    @andrewnottaviano
    @fbricon, I'm honestly not familiar with all of the features of vscode-xml (as opposed to what comes with vscode by default) other than that the xsd validation isn't working. I replaced one of the nodes that is in the schema file and put a phony node name in there and there weren't any errors or warnings. So I assume that that probably isn't working.
    I was thinking that maybe I needed to install the java language server or restart vscode, but none of that was mentioned in the requirements on the pageso idk.
    Fred Bricon
    @fbricon
    @andrewnottaviano it should just work. vscode-xml is independant of vscode-java, each runs its own language server, that happen to run with Java
    @andrewnottaviano opening a Maven pom.xml is a good way to check if it works, since it has xsd validation and completion
    andrewnottaviano
    @andrewnottaviano
    @fbricon ok thanks for getting back with me! If I get a chance, I'll give that a shot
    andrewnottaviano
    @andrewnottaviano
    Well opening a maven pom file worked. I was able to test the validation.
    So my question is did I set it up wrong? I have a custom xsd file saved and put the file path in the fileAssociations settings key. Is that the right place?
    Angelo
    @angelozerr
    Have you configured correctly your xml.java.home settings?
    You dont nées fileassociation since tout pom.xml should reference the maven xsd
    andrewnottaviano
    @andrewnottaviano
    The maven xsd worked fine. I was trying to use a custom xsd
    Angelo
    @angelozerr
    I suggest you you create an issue in vscode-xml and you attach your project (vscode settings, XML, XSD file)
    John Zabroski
    @jzabroski
    Hi... cant figure out how to get an xsd validation working with a sample xml file. The user settings arent super clear. Am I supposed to put all my XSD files in xml.server.workDir - seems a bit limited
    Mousing over the root element in my xml file, it seems to be loking for a sample.xml file in my workDir directory, which is weird. I would expect it to pick up a xsd file not a xml file?
    Angelo
    @angelozerr
    I suggest you that you create an issue in vscode XML and you attach the sample that you are trying
    chrmos
    @chrmos
    Hi all! Everything working well except somehow I can't import external entities
    ```xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE entity SYSTEM "../xsd/zwbr.ent">
    <letter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/zwbr.xsd">
    results in "MSG_ELEMENT_NOT_DECLARED" Element type "XYZ" must be declared. for every element
    John Zabroski
    @jzabroski

    I suggest you that you create an issue in vscode XML and you attach the sample that you are trying

    I ended up using VIsual Studio Big Brother instead.

    That said, I was expecting to hear back, "xml.server.workDir user setting is used for xyz. What could we do to improve the wording so you understand how it's used?" Just my 2 cents.
    Fred Bricon
    @fbricon
    @jzabroski "xml.server.workDir: location where lsp4xml automatically caches remote XML schemas." is that better?
    John Zabroski
    @jzabroski
    Yes, much better, thank you.
    Иван Сердюк
    @oceanfish81_twitter
    Any support for XSLT 3.0 being planned ?
    Fred Bricon
    @fbricon
    @oceanfish81_twitter nothing planned yet, but feel free to open a ticket. What exactly is not covered?
    Martin Ceronio
    @mydoghasworms
    Why does the following not work:
    image.png
    Martin Ceronio
    @mydoghasworms
    I can confirm the relative location of the XSD is correct.
    Angelo
    @angelozerr
    @oceanfish81_twitter please note the XSL support is very simple and we need to improve it with those issues https://github.com/eclipse/lemminx/issues?q=is%3Aissue+is%3Aopen+label%3A%22xsl+extension%22 Please create issues at https://github.com/eclipse/lemminx/issues if you need some XSLT 3.0 support by explaining what you wish to have (completion,validation, etc), thanks
    @chrmos by default the resolve of external entities are disable for security. I suggest you enable it with settings xml.validation.resolveExternalEntities: true (see https://github.com/redhat-developer/vscode-xml#supported-vs-code-settings)
    Angelo
    @angelozerr
    @mydoghasworms it's hard to help you since SAP XML Schema can be complexed with namespaces. I suggest you that you use XML Catalog to manage SAP UI. See my comment at https://github.com/redhat-developer/vscode-xml/issues/119#issuecomment-546297605 where you can download a vscode xml with SAP UI. But there are some validation problem (I don't know why)
    Иван Сердюк
    @oceanfish81_twitter

    @oceanfish81_twitter nothing planned yet, but feel free to open a ticket. What exactly is not covered?

    I am not sure: it heavily depends on specific priorities. Which aspects of XSLT 3.0 standard do you see and how do you see the IDE support? I think that is still a question to your engineering group. As for domain specific stuff - I suspect that XBRL, XML Catalogs and XQuery

    @chrmos by default the resolve of external entities are disable for security. I suggest you enable it with settings xml.validation.resolveExternalEntities: true (see https://github.com/redhat-developer/vscode-xml#supported-vs-code-settings)

    You mean - support of RelaxNG, XML Schema and DTD?
    Or that is rather an option for XML Catalog?
    Why not limit this to to a range of a private or public cloud?

    Angelo
    @angelozerr
    I am not sure: it heavily depends on specific priorities. Which aspects of XSLT 3.0 standard do you see and how do you see the IDE support? I think that is still a question to your engineering group. As for domain specific stuff - I suspect that XBRL, XML Catalogs and XQuery
    Angelo
    @angelozerr
    Goal of vscode-xml is to give the best XML support for the commons use of XML for writing XML (completion, validation, quick fix, etc). XML completion based on XML Schema, DTD for instance is a commons use for me. XQuery support is more specific use and we prefer spending our time to provide the best XML support for commons usecases than other specific case. I wrote a lot of XQuery in my past, but XQuery is not a really an emerging technology, so I'm not sure that we will provide some support for XQuery.
    You mean - support of RelaxNG, XML Schema and DTD?
    Or that is rather an option for XML Catalog?
    Why not limit this to to a range of a private or public cloud?
    No I mean XML entities (DTD support) that we disable by default for XXE security https://portswigger.net/web-security/xxe