question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Errors with GXL schema

See original GitHub issue

I configured vscode-xml to use the GXL schema http://www.gupro.de/GXL/xmlschema/gxl-1.0.xsd for all .gxl files.

But when opening a GXL file, it gives a lot of errors:

image

And none of the code intelligence features work.

Here’s an example file: data_gxl_minimal++_minimal++_OHNE_DOC.gxl.zip

The schema is official so I would expect it to work (and assume it’s correct)

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
NikolasKomonencommented, May 1, 2019

After a quick look, in the XSD it uses xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" instead of the regular xmlns:xsd="http://www.w3.org/2001/XMLSchema"

and from the errors it looks like it only works with the latter.

Not sure if xerces only supports the 2001 schema, need to investigate it.

0reactions
angelozerrcommented, Jun 7, 2019

I fear that issue cannot be resolved since this error comes from xerces here https://github.com/apache/xerces2-j/blob/trunk/src/org/apache/xerces/impl/xs/traversers/XSAttributeChecker.java#L988

if (!SchemaSymbols.URI_SCHEMAFORSCHEMA.equals(uri)) {
  reportSchemaError("s4s-elt-schema-ns", new Object[] {elName}, element);
}

As you can see the test with namespace uri is hard coded.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding schema errors | HESA
The schema is defined by the XSD. Schema errors occur where there is a problem with the structure or order of the file,...
Read more >
CPPX Bugs and Missing Features - the UWaterloo SWAG lab!
GXL schema for GD (the union schema). Current Bug List. Scope of enumerators should be enumerated type not parent scope (ex) (AJM); Visibility...
Read more >
[PDF] The use of the GXL approach for supporting visual language ...
In this paper we propose a methodology to generate visual programming environments, which use GXL as data exchange format for visual languages. The...
Read more >
How to Fix Schema Validation Errors
Three Schemas You Need to Avoid the “Either “Offers”, “Review”, or “aggregateRating” Should be Specified” Error · Offers · Review · Rating.
Read more >
Columbus – Reverse Engineering Tool and Schema for C++ ...
schema, front end, ASG, Columbus/CAN, GXL. 1 Introduction. One of the most critical issues in large-scale software de- velopment and maintenance is the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found