yegor256 / yegor256/xembly

`Arg.java` uses old link to reference compatibility character ranges

Open Beginner friendly
#333 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
248
Forks
32
Avg merge
17h 21m
Merged PRs (30d)
27

Description

in Arg.java currently we do this:

private static void range(final char chr, final int left, final int right)
    throws XmlContentException {
    if (chr >= left && chr <= right) {
        throw new XmlContentException(
            String.format(
                "Character #%02X is in the restricted XML range #%02X-#%02X, see http://www.w3.org/TR/2004/REC-xml11-20040204/#charsets",
                (int) chr, left, right
            )
        );
    }
}

However, on the website I getting this:

This version is outdated!For the latest version, please look at [https://www.w3.org/TR/xml11/.](https://www.w3.org/TR/xml11/)

Please fix

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open Arg.java and locate the range method's XmlContentException message. Replace the outdated XML 1.1 specification link with the current URL shown in the issue, then verify that the error message points to the current specification.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
82/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.