Skip to content

Binary server doesn't show "element missing child" warning in broken RelaxNG #1460

@datho7561

Description

@datho7561

Given the following broken RelaxNG file:

<grammar xmlns="http://relaxng.org/ns/structure/1.0"
  datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  <start>
    <ref name="root" />
  </start>
  <define name="root">
    <element name="root">
      <element name="child"></element>
    </element>
  </define>
</grammar>

There should be an error that "" requires a child, but when I run the binary server I don't see any errors in the document.

In the output, I get:

Message: Unexpected RNG Validator error
java.util.MissingResourceException: Can't find bundle for base name com.thaiopensource.relaxng.parse.sax.resources.Messages, locale en_CA

Based on this message, maybe this bug only happens when your locale is en_CA.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions