Skip to content

Cache completion based on XML Schema/DTD #172

@arkceajin

Description

@arkceajin

settings.json:

{
    "xml.java.home": "C:\\Program Files\\java-1.8.0-openjdk-1.8.0.212-3.b04.redhat.windows.x86_64",
    "xml.catalogs": ["file:///C:/Users/s-jiu/Desktop/AP-R19-03/MethodologyAndManifests/AUTOSAR_MMOD_XMLSchema/AUTOSAR_00047.xsd"],
    "xml.fileAssociations": [{
        "systemId": "file:///C:/Users/s-jiu/Desktop/AP-R19-03/MethodologyAndManifests/AUTOSAR_MMOD_XMLSchema/AUTOSAR_00047.xsd",
        "pattern": "*.arxml"
    }]
}

arxml:

<?xml version="1.0" encoding="UTF-8"?>
<AUTOSAR xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://autosar.org/schema/r4.0 AUTOSAR_00047.xsd">
 ...
</AUTOSAR>

How to set the xsi:schemaLocation and "systemId" to making the xsd relate to the arxml?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions