jakartaee / servlet

Jakarta Servlet
https://eclipse.org/ee4j/servlet
Other
253 stars 81 forks source link

Descriptor example in Servlet 6.0 doc is bad #563

Closed joakime closed 8 months ago

joakime commented 8 months ago

The example descriptor in the published Servlet 6.0 documentation is incorrect.

See document at https://jakarta.ee/specifications/servlet/6.0/jakarta-servlet-spec-6.0.html#a-basic-example

It appears like the following ...

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="https://jakarta.ee/xml/ns/jakartaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee
         web-app_{spec-version-underscore}.xsd"
         version="{spec-version}">

The {spec-version-underscore} and {spec-version} were apparently not expanded properly.

joakime commented 8 months ago

Can we republish that specifications html?

markt-asf commented 8 months ago

Not sure. It was part of the formal release so I'm not sure what hoops we'd need to jump through.