Bug-24

Description

References to a simpleType might cause invalid href attributes in links, if the name of the type is longer then 24 characters.

Affected Releases

xnsdoc 1.2.2 and all older releases.

Severity

Low.

Comments

The following schema reproduces the problem.

<?xml version = "1.0" encoding = "UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="foo" type="name_with_more_than_24_chars"/>
  <xs:simpleType name="name_with_more_than_24_chars">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:simpleType name="bar">
    <xs:restriction base="name_with_more_than_24_chars"/>
  </xs:simpleType>
</xs:schema>

E.g. in the type hierarchy of simple type bar, the link to the base simple type is broken.

Safe Online Shopping

Payment options

Billing currencies

  • 1

Site Conformance

Valid XHTML 1.0 Transitional

Valid CSS!