All Classes and Interfaces
Class
Description
Abstract class completion resolver to resolve :
CompletionItem.setDocumentation(String)
CompletionItem.setAdditionalTextEdits(java.util.List)
CompletionItem.setDetail(String)
for a given DOM attribute.Abstract class completion resolver to resolve :
CompletionItem.setDocumentation(String)
CompletionItem.setAdditionalTextEdits(java.util.List)
CompletionItem.setDetail(String)
Abstract class for definition.
Abstract command to work with a given
DOMDocument filled in the first
argument of the command as TextDocumentIdentifier.Abstract class of
CompletionItem to report an XML element completion
item.Abstract code action participant which manages missing referenced grammar file (DTD, XSD).
Abstract class to:
insert the grammar association in the XML (ex :
xsi:noNamespaceSchemaLocation)
generate the grammar XSD/DTD file
Base class of the code action resolver participant used to generate the
missing grammar (DTD / XSD) which is declared in the XML as association (ex :
via xsi:noNamespaceSchemaLocation)
The SAX
ErrorHandler gives just information of the offset where there
is an error.Abstract class reporter with referenced grammar.
Abstract class for reference participant.
Base class for simple RNC code actions that insert text at the diagnostic's
end position.
Base class for RNC features request.
Abstract class for save context.
Abstract base class for text document services that handle a specific file
type (e.g., XML, RNC).
Abstract class for type definition.
Abstract class to generate a grammar (XSD, DTD, etc) from a given XML source.
Sends a notification to the client via a jsonrpc notification
while managing cache
Abstract class for XPath node matcher.
An ActionableNotification class.
XML Command "xml.catalog.entry.add" to add a new entry to an existing
XML catalog file.
Finds related info for any error code
Represents all settings under the 'xml' key
{ 'xml': {...} }
Code action to fix
any_name_except_contains_any_name error by
replacing an invalid element with a valid name class element.Arguments utilities.
XML Command "xml.associate.grammar.insert" to associate a grammar to a given
DOM document.
Code action to fix MSG_ATT_DEFAULT_INVALID error by replacing the invalid
default value with a valid enumeration value.
Attribute declaration.
Resolves the completion item with the documentation of the attribute name
from the content model.
Code action to fix AttributeNotUnique error.
Resolves the documentation for the completion of the attribute value from the
content model.
Code action to fix AttTypeRequiredInAttDef error by replacing the invalid
attribute type with a valid DTD attribute type.
Deprecated.
Indicates the attempt to access a non-existing position.
Represents a catalog entry that can be used to bind an XML document to a
grammar.
A compact, immutable bloom filter for fast set-membership testing.
Exception thrown when a resource (XML Schema, DTD) has error while
downloading.
Exception thrown when a resource (XML Schema, DTD) is downloading.
Base class for cache resource exception.
Cache resources manager.
Classpath resource to deploy into the lemminx cache
Cardinality for sequence.
Represents a catalog entry that uses the "catalog" attribute to reference an external document
Represents a catalog entry that references an external document
Catalog file path support for catalog.xml to provide completion for @uri
attribute.
Utility functions for working with XML catalog documents
Resolves VS Code-style predefined variables in catalog uris
CDATA snippet context used to filter the CDATA snippets.
XML Command "xml.check.bound.grammar" to verify if an XML document already
has a bound grammar/schema, opened from the command palette.
XML Command "xml.check.file.pattern" whose first argument is a file pattern,
and whose second argument is some file URI.
Children properties of an element declaration:
sequenced if all children have the same order.
cardinalities for each child.
Determines if a client supports a specific capability dynamically
Commonly used client commands
ClientSettingsManager
Code action to fix close start tag element.
Code action for PublicIDUnterminated and SystemIDUnterminated.
Content model element which abstracts attribute declaration from a given
grammar (XML Schema, DTD, RelaxNG).
Content model document which abstracts element declaration from a given
grammar (XML Schema, DTD).
DTD attribute declaration.
DTD content model provider.
DTD document.
DTD element declaration.
Content model element which abstracts element declaration from a given
grammar (XML Schema, DTD).
RelaxNG content model provider.
RelaxNG content document implementation.
RelaxNG content element implementation.
Content model provider to manage href of xml-model processing instruction.
XSD attribute declaration implementation.
XSD content model provider.
XSD document implementation.
XSD element declaration implementation.
Factory for simple
CodeActionCode action request implementation.
CodeLens kind supported by the client.
Specific capabilities for the `CodeLensKind`.
Color utilities.
Comment snippet context used to filter the comment snippets.
CompletionItemDefaultsUtils for implementing itemDefaults in completion list
Completion participant adapter.
Property for completion resolve support.
Completion response implementation.
CompletionSortText class to get sortText for CompletionItem's
Composite settings class
Provides a new SharedSettings instance with a second
setting merged
Composite text document service that routes LSP requests to the appropriate
AbstractTextDocumentService based on file type.Represents a configuration field discovered by scanning a settings class
hierarchy.
Class representing a change to a client's config.
Configuration item edit type.
Configuration item value kind.
Configuration scope for settings fields, mirroring VS Code's setting scopes.
Children information.
Code action to fix ContentIllegalInProlog error.
Code action to close a missing parenthesis in DTD content model declarations.
Extension to support XML code actions based on content model (XML Schema
completion, etc)
At first this participant is enabled only when LSP client can support the
client command "xml.open.binding.wizard" to open the wizard to bind a XML to
a grammar/schema.
Extension to support XML completion based on content model (XML Schema
completion, etc)
Validate XML files with Xerces for general SYNTAX validation and XML Schema,
DTD.
Document link for :
XML Schema xsi:noNamespaceSchemaLocation
DTD SYSTEM (ex :
Entity SYSTEM (ex : invalid input: '<!'ENTITY % xinclude SYSTEM
"http://www.docbook.org/xml/4.4/xinclude.mod"> )
XML Schema xsi:schemaLocation
Element completion item created from a content model (schema/grammar element
declaration).
Formatter participant which uses XSD/DTD grammar information to know the
FormatElementCategory of a given element.Extension to support XML hover based on content model (XML Schema
documentation, etc)
Inlay hint participant that shows grammar-defined information for XML
elements and attributes:
Default attribute values: shows default/fixed attribute values
from the bound grammar (XSD, DTD) when an element does not explicitly
specify them.
Attribute types: shows the type of each attribute (e.g.,
: xs:integer) after the attribute name.
Element types: shows the type of each element (e.g.,
: inputType) after the element tag name.
Content model manager used to load XML Schema, DTD.
Content model plugin extension to provide:
completion based on XML Schema, DTD...
hover based on XML Schema
diagnostics based on on XML Schema, DTD...
Content model provider API.
Semantic tokens participant that highlights element tag names and required
attributes based on the bound grammar (XSD, DTD, etc.).
Content model settings.
Symbol participant to show referenced grammars information.
Extension to support XML type definition based on content model (XML Schema
type definition, etc)
Code action to fix MSG_OPEN_PAREN_OR_ELEMENT_TYPE_REQUIRED_IN_CHILDREN and
MSG_CONTENTSPEC_REQUIRED_IN_ELEMENTDECL errors by inserting or replacing a
content specification.
XML Command "xml.catalog.create" that returns the content for a new
empty XML catalog file.
Code action to fix cvc-attribute-3 error.
Code action to fix cvc-complex-type.2.1 error.
Code action to fix cvc-complex-type.2.3 error.
cvc_complex_type_2_4_a
CodeAction to insert expected child elements within an element
Given this XML where the expected child elements are not present as defined
in the XSD:
Error: Child elements are missing from element: - servlet
The following elements are expected: - description - display-name - icon -
servlet-name
To fix the error, the code action will suggest inserting the expected
elements inside the parent tag
Code action to fix cvc-complex-type.3.1 error (fixed value mismatch).
Code action to fix cvc-complex-type.3.2.2 error.
Code action to fix cvc-complex-type.4 error.
Code action to find the expected element name defined in the given xsd and
replace it
Given this XML where 'root' is defined as the root element in the XSD
-> Error: Cannot find declaration of 'test'
To fix the error, the code action will suggest replacing 'test' with 'root'
in both the opening and closing tag
Code action to fix cvc_enumeration_valid error only for text, because for
attribute cvc-attribute-3 error fix it.
Code action to fix cvc-type.3.1.1 error.
Code action to fix DashDashInComment error.
Data entry field support used to resolve :
resolve completion :
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#completionItem
resolve codeAction :
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#codeAction
Here a data sample for codeAction used by the resolve code action:
{
"title": "Generate 'content.dtd' and bind with xml-model",
"kind": "quickfix",
...
],
"data": {
"uri": "file:///...This class is the result of a diagnostic process.
Utilities for
Diagnostic.Code action to fix DoctypeNotAllowed error.
DOCTYPE snippet context used to filter the DOCTYPE snippets.
Extends
PathPatternMatcher with document-level matching criteria.Result for document symbols computation for the textDocument/documentSymbol
request
An attribute node.
Formats DOM element attributes: spacing, indentation, quoting, and line
splitting.
Formats CDATA sections (
<![CDATA[...]]>).A CData section node.
A CharacterData node.
A Comment node.
Formats XML comment nodes (
<!-- ... -->).Base class for DOM nodes that can have children (elements, documents, DTD
declarations).
Formats DOCTYPE declarations and DTD content.
XML document.
A doctype node.
An Element node.
Element completion item created from an existing element.
Formats DOM elements according to their
FormatElementCategory.DOM node.
Tolerant XML parser.
A processing instruction node.
Formats processing instructions (
<?target ...?>).DOM range
A Text node.
Utilities for
TextEdit specific to DOM documents.Formats text nodes within XML elements according to their parent's
FormatElementCategory.Base class for DOM nodes that have a position range (start/end offsets) and
flags in the parsed document.
DOM Utilities.
Code action to force download of an external resource.
DTD Attribute List declaration invalid input: '<!'ATTLIST
DTD CodeLens to show references count for referenced invalid input: '<!'ELEMENT
DTDNode
DTDDeclParameter
DTD definition participant
Validate DTD file with Xerces.
Document link for DTD entities system inside a DTD:
invalid input: '<!'ENTITY % xinclude SYSTEM "http://www.docbook.org/xml/4.4/xinclude.mod">
DTD Element Declaration invalid input: '<!'ELEMENT
DOM Entity declaration invalid input: '<!'ENTITY
DTD error code.
DTD generator settings
DTD highlight participant
DTD nodes snippet context used to filter the invalid input: '<!'ELEMENT, invalid input: '<!'ATTLIST, invalid input: '<!'ENTITY
snippets.
DTDNotationDecl
Code Action that creates a DTD file referenced with System ID of DOCTYPE.
DTD plugin.
DTD reference
Semantic tokens participant that highlights names in DTD declarations:
invalid input: '<!'ENTITY>, invalid input: '<!'ELEMENT>, invalid input: '<!'ATTLIST>, and invalid input: '<!'NOTATION>.
DTD utilities.
DTD validator
Element information.
Code action to fix unterminated DTD declaration errors by inserting a closing
>.Resolves the completion item of an element completion with an additional text
edits to update end tag.
Code action to fix ElementUnterminated error.
Enforce quote style when formatting
preferred: use preferred quote style when formatting
ignore: ignore formatting quotes
Entities completion used in a text node (ex : &).
Entities definition used in a text node (ex : &).
Utilities class to generate entities documentation.
Predefined entities.
Entities hover used in a text node (ex : &).
Plugin for managing used entities (ex : &)
Code action to fix EntityNotDeclaredCodeAction error.
Code action for unterminated enumeration in DTD ATTLIST declarations.
Code action to fix EqRequiredInAttribute error.
Code action to fix ETagRequired error.
Code action to fix ETagUnterminated error.
Exception Utils
Code action to fix
expected_define error by replacing an invalid
element with a valid grammar child element.Code action to fix
expected_pattern error by replacing an invalid
element with a valid RELAX NG pattern element.Extended client capabilities not defined by the LSP.
Extended capabilities specific to the `textDocument/codeLens` request.
Code action to insert external ID literal(s) after SYSTEM or PUBLIC keyword.
Code action to fix ExternalIDorPublicIDRequired error by inserting PUBLIC or
SYSTEM keyword.
RelaxNG external validator.
External resource error code when referenced XSD, DTD (with DOCTYPE,
xsi:schemaLocation) is downloaded.
Xerces uses
XMLDTDValidator which gets the DOCTYPE dtd file from the
declared DOCTYPE.Refactoring code action that extracts an
element or attribute
pattern into a named define.Creates TypeAdapters that are wrapped in a try/catch statement, so if
anything goes wrong when deserializing an object, it is set to null and not
parsed.
Resolves VS Code-style predefined variables in file association patterns and
systemIds.
Pairs a file's probabilistic
BloomFilter with its confirmed
GrammarReference list, enabling both fast pre-filtering and
zero-I/O reference counting from a single indexing read.Generic file generator.
Plugin to register the
FileContentGeneratorManager in the component
registry.Base class for generator settings.
Extension to support completion for file, folder path in:
attribute value:
File path completion result information.
File path expression
{
"xpath": "@paths",
"separator": " "
}
File path mapping which stores list of
FilePathExpression applied
for a given input file pattern.File Path support plugin.
File path support settings.
File paths settings:
"xml.filePathSupport.mappings": [
// File paths applied for text node items.xml files
{
"pattern": "*.xml",
"expressions": [
{
"xpath": "path/text()"
},
{
"xpath": "item/@path"
},
{
"xpath": "item/@paths",
"separator": " "
}
]
}
]
File changed tracker.
Files utilities.
Code action to fix missing space errors in DTD declarations by inserting a
space after the highlighted token.
Classification of an XML element that determines how the formatter handles
its whitespace.
Code action resolver participant used to:
generate the DTD file for the given DOM document
generate the association DOCTYPE in the XML to bind it with the generated
DTD
Code action resolver participant to generate the missing DTD which is
declared in the XML as association via DOCTYPE or xml-model.
XML Command "xml.grammar.generateFromXml" to generate a grammar file (XSD,
DTD, RelaxNG) from a given XML document and optionally bind it.
Result returned by the generate grammar command.
Code action resolver participant to generate the missing RelaxNG (.rng) file
which is declared in the XML as association via xml-model.
Code action resolver participant to generate the missing RelaxNG Compact
Syntax (.rnc) file which is declared in the XML as association via xml-model.
Code action resolver participant used to:
generate the RelaxNG Compact Syntax file for the given DOM document
generate the association in the XML to bind it with the generated RelaxNG
Compact schema
Code action resolver participant used to:
generate the RelaxNG file for the given DOM document
generate the association relaxng in the XML to bind it with the
generated RelaxNG schema
XML Command "xml.grammar.generate" to generate an XML document from a given
grammar (XSD, DTD, RelaxNG, etc.) and a root element name.
Code action resolver participant used to:
generate the DTD file for the given DOM document
generate the association xml-model in the XML to bind it with the
generated DTD
Code action resolver participant used to:
generate the XSD file for the given DOM document
generate the association xml-model in the XML to bind it with the
generated XSD
Code action resolver participant to generate the missing XSD which is
declared in the XML as association via xsi:noNamespaceSchemaLocation or
xml-model.
Code action resolver participant used to:
generate the XSD file for the given DOM document
generate the association xsi:noNamespaceSchemaLocation in the XML to bind
it with the generated XSD
Simple textual glob matching utility for non-file-path strings such as
namespace URIs, DOCTYPE public/system IDs, and grammar URIs.
Grammar information.
Grammar cache information.
Computes a
WorkspaceEdit that updates all grammar file references
across the workspace when a grammar file is renamed.A located grammar reference within an XML file, stored as a line/column
range so that callers can build LSP
Locations and
TextEdits without re-reading the file.The kind of grammar reference.
Locates grammar file references in XML content and returns them as
GrammarReference objects with pre-computed line/column positions.Compiled form of the
xml.workspaceIndex.headLimits setting.Hover participant adapter.
HTML to plain-text.
Base API for textDocument/codeAction and codeAction/request.
Code action participant API.
Code action request API.
The code action resolver request API.
The code action resolver participant API.
CodeLens participant API.
Common API for requesting a
workspace/codeLens/refresh to be sent to
the client after a batch event.CodeLens request API.
Represents a class that can resolve certain kinds of completion items.
Represents a request from the client to resolve a given completion item, with
information needed to resolve the request attached.
Completion participant API.
Completion request API.
Completion response API.
Component provider API to register utilities class for a given XML language
service
XMLLanguageServiceCode action to fix IDDefaultTypeInvalid error by replacing the invalid
default value with
#IMPLIED or #REQUIRED.Definition participant API.
Definition request API.
Diagnostics participant API.
Common API for triggering a diagnostics re-publish for a subset of open
documents.
Document color participant API.
Document LifecycleService participant API.
Document link participant API.
File content generator API.
File path support expression API.
File path support participant API.
XML formatter participant.
Extension point that allows XML plugins to contribute grammar reference
attribute patterns to the workspace index.
How to extract file paths from the attribute value.
Hover participant API.
Hover request API.
Extension point that allows XML plugins to contribute a custom file scanner
for non-XML grammar formats to the workspace index.
Inlay hint participant API.
Inlay hint request API.
Inline completion participant API.
Inline completion request API.
Inline completion response API.
A line tracker maps character positions to line numbers and vice versa.
Linked editing ranges participant API.
Linked editing ranges request API.
Code action for the
include-not-overriding error — offers "Did you
mean" suggestions and a list of overridable defines from the included file.Lightweight streaming XML scanner for workspace Bloom-index collection.
Token types produced by
IndexScanner.Represents all extended client capabilities sent from the server
Represents all settings sent from the server
{ 'settings': { 'xml': {...}, 'http': {...} } }
Telemetry data to collect.
Base code action to insert missing attributes on an element.
Code action to fix RelaxNG invalid_attribute_name and no_attributes_allowed
errors by removing the undeclared attribute.
Code action to fix RelaxNG invalid_attribute_value error by replacing the
invalid attribute value with a valid enumeration value.
Exception thrown when a grammar file (XSD, DTD, etc.) cannot be loaded
because it contains errors.
This class sends a warning to the client via a jsonrpc notification
The cache is a Mapinvalid input: '<'String, Set>
where the keys are the feature names and the value is a set of file paths for
which notifications have been sent already
Invalid URI exception.
IO utilities class
Prepare rename request API.
Reference participant API.
Provides an interface to find related info for a given error
Rename participant API.
Rename request API.
Rename response API.
Interface for RNC code action participants.
Provides access to parsed
RNCDocument instances by URI.Save context API.
The save context type:
DOCUMENT: a document is saved.
SETTINGS: a settings is saved.
Semantic tokens participant API.
Semantic tokens request API.
Shared settings request API
Snippet context used to filter the snippet.
Loader used to load snippets in a given registry for a language id.
Suffix position provider API.
Symbols provider participant API.
SPI interface for contributing additional
AbstractTextDocumentService
implementations that handle non-XML file types (e.g., RNC, DTD).Type Definition participant API.
Type Definition request API.
Context passed to
IWorkspaceServiceParticipant.didChangeWatchedFiles(List, IWatchedFilesContext)
so extensions can request deferred client notifications after all participants have
processed the current file-change batch.Workspace Service participant API.
Service available to XML LS extensions to add/remove/execute commands via the
XML LS
Command handler to register with the workspace service
DOMDocument provider.XML error code API.
XML extension.
XML formatter API.
XML minifier API.
Notification service API
API to collect from/to attribute, text nodes which matches
XMLReferenceExpression.matchTo(org.w3c.dom.Node)Features that are associated with a particuliar settingId
XML snippet context API.
XML Document validation service available to XML LS extensions
XPath node matcher tests if
Node match a fragment of XPath.JSONUtility
JVM information
Code action to fix LessthanInAttValue error.
An algorithm for measuring the difference between two character sequences.
LimitExceededWarner sends a warning to the client via a jsonrpc notification
Cache is a Mapinvalid input: '<'String, Set>
where the keys are the feature names and the values are the file paths for
which notifications have been sent already
Features that are associated with some limit
For example, document symbols have a maximum limit for performance reasons
List class which checks the limit when item is added.
XML Command "xml.catalog.entries.bindable" to list all bindable catalog
entries across all registered catalogs.
XML Command "xml.grammar.listRootElements" to list root elements from a
given grammar (XSD, DTD, RelaxNG, etc.).
Information about a root element declaration.
LogHelper
XML logs settings.
LSP client JUL
HandlerSAX content handler to stop immediatly the XML parsing by checking
CancelChecker.checkCanceled()Bridges Jing's SAX
ErrorHandler to LSP Diagnostic objects.LSP error reporter for XML syntax and error grammar (XML Schema/DTD).
The SAX
ErrorHandler gives just information of the offset where there
is an error.Value-object describing what options formatting should use.
SchemaMessageProvider implements an XMLMessageProvider that provides
localizable error messages for the W3C XML Schema Language
Extension of Xerces SAX Parser to fix some Xerces bugs:
[BUG 2]: when Xerces XML grammar pool is used, the second validation
ignore the existing of entities.
The Xerces
SchemaParsingConfig doesn't give the capability to
customize the XML entity manager.LSP security manager.
The Xerces
XML11DTDProcessor doesn't give the capability to customize
the XML entity manager.Custom XML entity manager which return an empty string when a DOCTYPE SYSTEM
or ENTITY SYSTEM doesn't exist to:
avoid breaking the XML syntax validation when XML contains a
DOCTYPE/ENTITY SYSTEM which doesn't exist
report the error DOCTYPE/ENTITY SYSTEM which doesn't exist in the proper
range of SYSTEM
XMLEntityResolver used when XML, XSD, DTD is validated and declared
some external resources (with DOCTYPE, xsi:schemaLocation, etc).LSP XML grammar pool.
This class is a grammar pool entry.
Xerces grammar pool which tracks all DTD grammars which are cached for an XML
validation.
Xerces
XMLGrammarPreparser doesn't provide the capability to override
the XMLErrorReporter which is required to get XMLl This class
overrides XMLGrammarPreparser.preparseGrammar(String, XMLInputSource)
to use LSP error reporter.Converts HTML content into Markdown equivalent.
Factory to create LSP4J
MarkupContentMarkupEntityMismatchCodeAction is a code action that triggers when the end
tag of the root element is missing.
JVM memory information
Code action participant to provide minify as a source action.
CodeAction resolver for the minify action.
XML Command "xml.minify.document" to minify an XML document by removing
unnecessary whitespace.
Minify plugin to register the minify command and code action.
Code action for the
missing-assign error — inserts =
after a define or start keyword.Code action for the
missing-name error — inserts a name
placeholder after an element or attribute keyword.Code action for the
missing-open-brace error — inserts
{ after an element or attribute name that is missing its
body block.Code action for the
missing-pattern error — offers quick fixes to
fill an empty block with a pattern.Code action for the
missing-start-element error.Code action for the
missing-uri error — inserts a URI string
literal after an include keyword.Data entry field used in the codeAction/resolve for inserting missing
elements.
Data entry field used in the codeAction/resolve for missing grammar.
Code action to fix MixedContentUnterminated error by inserting the missing
)* or * before >.A
TextDocument which is associate to a model loaded in async.The cache of
TextDocument linked to a model.Validate a given model document with delay.
Code action to fix DTD MSG_ATTRIBUTE_NOT_DECLARED error by removing the
undeclared attribute.
Code action to fix DTD MSG_ATTRIBUTE_VALUE_NOT_IN_LIST and
MSG_FIXED_ATTVALUE_INVALID errors by replacing the invalid attribute value
with a valid enumeration value.
Code action to fix DTD MSG_CONTENT_INCOMPLETE error by inserting expected
child elements.
Code action for MSG_CONTENT_INVALID.
Code action to fix DTD MSG_ELEMENT_NOT_DECLARED and MSG_CONTENT_INVALID
errors by replacing the invalid element with a similar valid element name.
Code action to fix DTD MSG_FIXED_ATTVALUE_INVALID error by replacing the
invalid attribute value with the fixed value.
Code action for MSG_MARKUP_NOT_RECOGNIZED_IN_DTD.
Code action to fix DTD MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED error by
inserting missing required attributes.
Multiple cancel checker.
Multi line stream.
Multiple SAX
ContentHandler.This class is a copy of
CombineSchema adapted for LemMinx.This class is a copy of
CompactSchemaReader adapted for
LemMinx.This class is a copy of
PatternSchema adapted for LemMinx.This class is a copy of
SAXSchemaReader adapted for LemMinx.This class extends
SchemaPatternBuilder to copy the Locator
when ElementPattern and AttributePattern are created, because
by default the received locator instance is a singleton and we loose the
correct line/character position.This class is a copy of
SchemaReaderImpl adapted for LemMinx.Snippet context used to filter snippets if XML file is empty or not.
Code action to fix RelaxNG no_attributes_allowed error by removing the
undeclared attribute.
Code Action to bind a XML to a grammar (DTD, XSD) by generating the grammar.
Data entry field used in the codeAction/resolve to generate the grammar.
The declared "xsi:noNamespaceSchemaLocation"
Code action for missing SYSTEM/PUBLIC keyword after notation name.
Code action for MSG_NOTATION_NOT_DECLARED_FOR_UNPARSED_ENTITYDECL.
Code action to fix
ns_name_except_contains_any_name and
ns_name_except_contains_ns_name errors by replacing an invalid
element with a valid name class element.OpenQuoteExpectedCodeAction
OS information
Code action to fix RelaxNG out_of_context_element error by replacing the
invalid element with a similar valid element name.
Watches the parent process PID and invokes exit if it is no longer available.
Features that are associated with filePaths
For example, XML catalog support is associated with XML catalog filePaths
Platform information about OS and JVM.
Snippet context used to filter if Processing Instruction Snippets should be triggered or not.
Progress monitor which wraps the LSP progress API to simplify the
implementation of progress.
LSP Progress support API.
PrologCompletionParticipant
This class holds values that represent the XSI xsd.
Plugin to handle `xsi` attributes or a namespace with the value of:
"http://www.w3.org/2001/XMLSchema-instance"
Loaded by service loader in 'resources' folder.
Code action to fix QuoteRequiredInPublicID, QuoteRequiredInSystemID, and
OpenQuoteMissingInDecl errors by wrapping the unquoted value in double
quotes.
Quote style (single quotes, double quotes)
References command for CodeLens.
The root diagnostic information when a grammar (XSD, DTD) have some errors
and it is referenced in a XML.
Class which holds a referenced grammar information.
Link which stores all from and to references for a given expression.
Java reflection utilities.
RelaxNG Compact Syntax generator settings.
RelaxNG constants.
All information specific to RelaxNG grammars.
RelaxNG error code when XML is validated with *.rng / *.rnc schemas.
XMLErrorHandler Xerces implementation for RelaxNG.RelaxNG generator settings
RelaxNG grammar.
RelaxNG plugin.
Resolve the RelaxNG for a RelaxNG grammar rng.
RelaxNG utilities.
Binding type of rng grammar
Base code action to remove an undeclared attribute and position the cursor at
the removal location via SnippetTextEdit.
Code action to fix src-element.1 and src-attribute.1 errors where both
'default' and 'fixed' attributes are present.
Code action to remove a duplicate DTD declaration line.
Base code action to replace an invalid attribute value with a similar or
valid enumeration value from the grammar.
Base code action to replace an invalid element name with a similar or valid
element name from the grammar.
Code action to fix required_attribute_missing,
required_attributes_missing, and required_attributes_missing_expected errors.
CodeAction to insert expected child elements within an element
Given this XML where the expected child elements are not present as defined
in the relaxNG schema:
Error: Child elements are missing from element: - servlet
To fix the error, the code action will suggest inserting the expected
elements inside the parent tag
CodeAction resolver used to generate missing element content
CodeAction to insert expected child element given a list of choices
Given this XML where the expected child elements are not present as defined
in the relaxNG schema:
Error: element "article" incomplete; expected element
"title", "title2" or "titleOtherChoice"
To fix the error, there will three code actions generated to insert each
option
CodeAction resolver used to generate missing element of choice
Resolve code action request implementation.
Implementation of
ICompletionItemResolverRequestResolver URI information.
The type of assignment operator used in an RNC define or start declaration.
Represents an
attribute pattern in an RNC document.Builder for generating formatted RNC (RELAX NG Compact Syntax) content.
Dispatches RNC code actions to the appropriate
IRNCCodeActionParticipant based on the diagnostic's error code.Provides code lenses for RNC (RELAX NG Compact Syntax) documents.
Determines the completion context at a given cursor position in an RNC
document by scanning all tokens before the cursor.
Describes the context in which completion was triggered.
Encapsulates all context needed to compute RNC completion items.
Handles lazy resolution of completion item documentation for RNC files.
Orchestrates RNC completion by delegating to specialized completion classes
based on cursor context.
Registry of datatype libraries available in RNC documents.
A single datatype entry within a library, holding its name and documentation
in both Markdown and plain text formats.
Represents a
datatypes declaration in an RNC document.Provides go-to-definition support for RNC (RELAX NG Compact Syntax) define references.
Represents a
div block in an RNC document.Represents a parsed RNC (RELAX NG Compact Syntax) document.
Represents a single parser error with a code, message, and source range.
Provides document links for RNC (RELAX NG Compact Syntax) documents.
Represents an
element pattern in an RNC document.Error codes for RNC (RELAX NG Compact Syntax) diagnostics.
Represents an
external reference in an RNC document.Base class for RNC nodes that reference an external file via a URI literal.
Provides folding ranges for RNC (RELAX NG Compact Syntax) documents.
Formats an RNC (RELAX NG Compact Syntax) document by producing a list of
TextEdits that transform whitespace (indentation, line breaks,
spacing around operators) without altering semantic content.Entry point for RNC (RELAX NG Compact Syntax) document formatting.
RNC formatting settings, mapped from
xml.rnc.format.*.Provides document highlighting for RNC (RELAX NG Compact Syntax) documents.
Provides hover information for RNC (RELAX NG Compact Syntax) identifiers and
keywords.
Encapsulates all context needed to compute RNC hover information.
Represents an
include declaration in an RNC document.Utilities for resolving and parsing included/external RNC files.
Workspace index scanner contributor for RELAX NG Compact Syntax (RNC) files.
Provides inlay hints for RNC documents.
Constants for RNC (RELAX NG Compact Syntax) keywords.
Facade for all RNC (RELAX NG Compact Syntax) language features, analogous to
XMLLanguageService for XML documents.Represents a
namespace declaration in an RNC document.Registry of well-known XML namespace URIs for RNC completion.
A well-known namespace URI with its description.
Base class for all nodes in the RNC (RELAX NG Compact Syntax) abstract syntax tree.
Parser for RNC (RELAX NG Compact Syntax) files that produces an
RNCDocument AST.Utility methods for computing positions and ranges in RNC documents.
Represents a range (start/end offset pair) within an RNC document, with
access to the owning
RNCDocument.Provides "Find References" support for RNC (RELAX NG Compact Syntax) documents.
Provides rename support for RNC (RELAX NG Compact Syntax) documents.
A scanner (lexer/tokenizer) for RELAX NG Compact Syntax (RNC) text.
Enumerates the internal states of the
RNCScanner state machine.Utility methods for searching RNC (RELAX NG Compact Syntax) documents.
Computes
textDocument/selectionRange responses for RNC documents.RNC settings, mapped from
xml.rnc.*.Loads RNC-specific code snippets from the bundled JSON resource file.
Provides document symbols (outline) for RNC (RELAX NG Compact Syntax)
documents.
LSP text document service for RNC (RELAX NG Compact Syntax)
.rnc files.SPI contribution that registers the
RNCTextDocumentService for
handling RNC (RELAX NG Compact Syntax) files.Enumerates the token types produced by
RNCScanner when scanning
RELAX NG Compact Syntax (RNC) text.Validates RNC (RELAX NG Compact Syntax) documents in two phases.
XSD CodeLens to show references count between XSD types references.
XSD definition which manages the following definition:
ref/@name -> define/@name
Validate RNG file with Jing.
Implements document links in .rng files for
include/@href
externalRef/@href
RelaxNG file path support for *.rng to provide completion for attributes :
include/@href
externalRef/@href
RNG highlight participant
RNG parser configuration used to set the LSP error reporter.
RelaxNG rng reference
RNG rename
Code action to replace an unrecognized datatype value in the
type
attribute of a <data> or <value> element.Code action to replace an invalid element with a valid RNG pattern or grammar
element using SnippetTextEdit for cursor placement.
Extends Xerces SAX Parser to use the LSP error reporter.
RNG validator utilities class.
XMLReaderCreator to create the RNG parser.Code action for RootElementTypeMustMatchDoctypedecl
This class depends on the diagnostic message (Diagnostic#message) to
determine the correct root name.
Code action to fix cvc-attribute-3 error.
Scanner API.
XML Scanner state.
Code Action that creates a schema file referenced by
xsi:noNamespaceSchemaLocation if it is missing
SchemaDocumentationType enum
Defines enums managing the which XSD element content to display
as documentation
SchemaDocumentationType.documentation XSD documentation element
SchemaDocumentationType.appinfo XSD appinfo element
SchemaDocumentationType.all XSD documentation and appinfo elements
SchemaDocumentationType.none noneThe declared "xsi:schemaLocation"
Represents one of the location hints provided in an xsi:schemaLocation
attribute.
RelaxNG schema provider.
Marks a settings field with its configuration scope, mirroring VS Code's
setting scopes.
XML references search engine to collect attribute , text which matches XML
references expression
XMLReferenceExpression.Search node wraps a DOM node which matches a from/to path of a given
XMLReferenceExpression.Search node factory.
XML references search Query.
XML references search Query factory.
Builder for LSP semantic tokens encoded data.
Code action to fix SemicolonRequiredInReference error.
Server Capabilities Constants
All default capabilities of this server
ServerSettings
SharedSettings
Basic implementation of the
IFilePathExpression.Snippet description (like vscode snippet).
Snippet context utilities.
A registry for snippets which uses the same format than vscode snippet.
Snippet syntax utilities.
Code action to fix invalid src-annotation elements
Code action to fix cvc-attribute-3 error.
String utilities.
XML Command "xml.refactor.surround.with" to support surround:
Surround with Tags (Wrap)
Surround with Comments
Surround with CDATA
Ignore Formatting
Result for symbols information computation for the
textDocument/documentSymbol request
CodeAction to replace an incorrect namespace in an .xml document.
Code action to add the missing xmlns declaration to the root element in an
.xml document.
Target range API.
Store telemetry data for transmission at a later time
Telemetry event
Telemetry manager.
Text document extends LSP4j
TextDocumentItem to provide methods to
retrieve position.A manager for simple text documents
A
CancelChecker implementation to throw a
CancellationException when version of TextDocument changed.Utilities for
TextEdit.Deprecated.
Use
TextEditUtils for generic LSP4J utilities
or DOMTextEditUtils for DOM-specific utilitiesXML Token type.
Abstract implementation of
ILineTracker.Code action for the
unclosed-block error — inserts a closing
} brace.Code action for the
undefined-pattern error — offers "Did you mean"
suggestions and "Create define" quick fixes.Code action to fix RelaxNG unknown_element and out_of_context_element errors
by replacing the invalid element with a similar valid element name.
Represents a catalog entry that uses the "uri" attribute to reference an external document
URI resolver API
URI resolver manager.
URIUtils
Utility methods to support
FileAssociationVariableSupport and CatalogVariableSupportLemMinX version information
The information is read from git
Workspace-level index that maintains one
FileBloomEntry per XML/grammar
file, enabling ultra-fast cross-file reference lookup with zero repeated file I/O.Listener notified as files are indexed during a
WorkspaceIndex.scanDirectory(java.nio.file.Path) call.Provides "Find References" for OASIS catalog entries.
Shows a "N references" code lens at the root element of grammar files
opened via the XML language service (XSD, DTD, RNG).
Shared utility that builds the "N references" workspace code lens for grammar files
(XSD, DTD, RNG, RNC).
LSP extension that owns the lifecycle of the workspace Bloom index.
Provides cross-file "Find References" using the workspace Bloom index.
Document links that are specific to xi:include
XInclude error code.
XInclude Plugin.
XInclude utilities.
File Generator implementation to generate DTD from a given XML source.
File Generator implementation to generate RelaxNG Compact Syntax (.rnc) from
a given XML source.
File Generator implementation to generate RelaxNG from a given XML source.
File Generator implementation to generate XML Schema (XSD) from a given XML
source.
XML content builder utilities.
URI resolver which, on the first access, downloads the XML Schema or DTD from
"http(s)" or "ftp" URIs to the file system.
Manager for capability related tasks
A capability is a service (Formatting, Highlighting, ...) that the server is
able to provide.
Code lens participant for XML catalog files.
Validates XML catalog documents:
Reports an error when the
uri attribute points to a file that does
not exist on disk.
Reports a warning (or hint when DiagnosticTag.Unnecessary is supported)
on the <catalog> root element when the catalog file is not registered
in xml.catalogs.
Reports a warning (or hint when DiagnosticTag.Unnecessary is supported)
on individual <uri>, <system>, and <public> entries that
are never referenced by any XML file in the workspace.Document links that are specific to catalogs
XML Catalog error code.
XMl Catalog plugin.
Provides rename support for OASIS XML catalog identifier attributes.
XML catalog URI resolver.
Provides "Go to Type Definition" locations for the catalog entries that bind
the XML document's namespace to its grammar.
Resolve the XML Schema of XML/Catalog
This class is a copy/paste from some methods of Xerces
org.apache.xerces.util.XMLChar.
Inline completion participant that suggests closing tags for open XML
elements.
Code action support.
A wrapper around LSP
CodeActionCapabilities.XML CodeLens settings
XML colors expression
{
"xpath": "@color"
}
XML colors which stores list of
XMLColorExpression applied
for a give pattern.XML colors plugin.
XML colors settings:
"xml.colors": [
// XML colors applied for text node for android colors.xml files
{
"pattern": "/res/values/colors.xml",
"expressions": [
{
"xpath": "resources/color/text()"
}
]
},
// XML colors applied for @color attribute for another files
{
"pattern": "/my-colors.xml",
"expressions": [
{
"xpath": "@color"
}
]
}
]
XML completions support.
A wrapper around LSP
CompletionCapabilities.XML Core plugin extension to provide core XML editing features that are
not specific to any grammar type (XSD, DTD, etc.).
Snippet context used to filter the XML declaration snippets.
Code action to fix XMLDeclUnterminated error.
XML document color particpant based on the
XMLColorsSettings.Generates a complete XML document from a grammar (XSD, DTD, RelaxNG, RNC).
XML download external resources settings.
XML generator used to generate an XML fragment with formatting from a given
element declaration (XML Schema element declaration, DTD element, etc).
XMLExcludedSymbolFiles
XML extensions registry.
XML file association between a XML file pattern (glob) and an XML Schema file
(systemId).
XML file association URI resolver.
A wrapper around LSP
FoldingRangeCapabilities.Central coordinator for XML document formatting.
Default XML formatter which generates one text edit by rewriting the DOM node
which must be formatted.
Mutable state passed through the formatting tree to track the current
formatting context: how deep the indentation is, how much line width
remains, and which
FormatElementCategory applies.This class is the root of all formatting settings.
Options for formatting empty elements.
Controls how mixed content (text + child elements) is formatted.
Controls how attributes are wrapped across lines.
A formatting profile that overrides global
xml.format.* settings for
documents matching specific criteria.Class to hold all settings from the client side.
Settings for XML document generation from grammar.
A generation profile that overrides global settings for grammars matching a
glob pattern.
A wrapper around LSP
HoverCapabilities.XML Inlay Hint settings.
XML inline completion service.
XML language client API.
XML language server.
XML custom services.
XML Language service.
XML minifier support.
XML minifier which generates several text edits to remove unnecessary spaces.
XML model processing instruction.
This class is the configuration used to parse XML 1.0 and XML 1.1 documents
and provides support for xml-model association.
XML model constants.
XML model declaration.
XML model validator which process validation with DTD:
XMLModelValidatorFactory for DTD.Xerces component which associates a XML with several grammar (XML Schema,
DTD, ..) by using <?
XMLModelMessageFormatter provides error messages for the xml-model
Recommendation.
Plugin for managing xml-model association
XML model validator which process validation with RelaxNG:
XMLModelValidatorFactory for RelaxNG XML and compact syntax.XML model validator which process validation with XML Schema:
XMLModelValidatorFactory for XSD.XML model utilities.
XML model validator API.
XMLValidator factory API.XML Namespaces settings.
XML position utility.
XML Preferences
XML prepare rename support.
Collects grammar references and symbol names from XML content using
LemMinX's own
XMLScanner.XML reference expression
{
"prefix": "#",
"from": "@corresp",
"to": "@xml:id"
}
XML references which stores list of
XMLReferenceExpression applied
for a give pattern.XML references codelens support.
XML references completion participant
XML references definition participant.
XML references diagnostics which reports undefined references.
XML references error code.
XML references highlight participant
XML references linked editing ranges.
XML references plugin.
XML references reference support.
XML references rename support.
XML references settings:
"xml.references": [
// references for tei.xml files
{
"pattern": "*.xml",
"expressions": [
{
"prefix": "#",
"from": "@resp",
"to": "persName/@xml:id"
},
{
"prefix": "#",
"from": "@corresp",
"to": "@xml:id"
}
]
},
// references for docbook.xml files
{
"pattern": "*.xml",
"expressions": [
{
"from": "xref/@linkend",
"to": "@id"
}
]
}
]
XML scanner implementation.
XML Schema error code.
XML Schema generator settings
XML Schema settings.
XML semantic tokens settings
Load default XML snippets.
XML Symbol expression filter.
XML symbol filter used to show/hide DOM attributes, text nodes specified with
XPath expressions:
XMLSymbolPreferences for Document Symbols
XML symbol settings for content model.
XML error code.
Find related information for an XML syntax error
Settings for telemetry
XML text document service.
XML Command "xml.validation.all.files" to revalidate all opened XML files
which means:
clear the Xerces grammar pool (used by the Xerces validation) and the
content model documents cache (used by the XML completion/hover based on the
grammar)
trigger the validation for the all opened XML files
XML Command "xml.validation.current.file" to revalidate a give XML file which
means:
remove the referenced grammar in the XML file from the Xerces grammar
pool (used by the Xerces validation) and the content model documents cache
(used by the XML completion/hover based on the grammar)
trigger the validation for the given XML file
XML validation settings used for a given pattern file.
XML validation settings root which defines validation rules for all files.
XML validation settings for a given file.
XML validator utilities class.
Settings for the workspace Bloom index (
xml.workspaceIndex).XML workspace service.
A wrapper around LSP
WorkspaceClientCapabilities.XML xi:include settings.
XPath matcher is used to match if a DOM Node match a XPath expression.
XPath text matcher matches
Text.XSD CodeLens to show references count between XSD types references.
XSD completion for
xs:/@type -> xs:complexType/@name
xs:/@base -> xs:complexType/@name
XSD definition which manages the following definition:
xs:element/@type -> xs:complexType/@name
xs:extension/@base -> xs:complexType/@name
xs:element/@ref -> xs:complexType/@name
Validate XSD file with Xerces.
XSD documentation
Represents documentation coming from an XML schema file
Implements document links in .xsd files for
xs:include/@schemaLocation
xs:import/@schemaLocation
XSD error code.
XML Schema file path support for *.xsd to provide completion for attributes :
include/@schemaLocation
import/@schemaLocation
XSD highlight participant
XSD plugin.
XSD reference
XSD rename
Resolve the XSD XML Schema and DTD dependencies.
XSD utilities.
Binding type of xs attribute.
XSD validator utilities class.
XSICompletionParticipant
Formatter participant implementation to format xsi:schemaLocation attribute
value.
XSIHoverParticipant
The xsi:schemaLocation split settings.
This class holds values that represent the XSI xsd.
Plugin to handle the xml prolog:
<?xml ... ?>.XML Stylesheet file path support for *.xsl to provide completion for
attributes :
include/@href
import/@href
XSL plugin.
Resolve the XSL XML Schema to use according the xsl:stylesheet/@version
AutoInsertResponseinstead.