eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'XML::ID_AT':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ID_AT (in XML)


Inheritance:

   Object
   |
   +--XML::AttributeType
      |
      +--XML::ID_AT

Package:
stx:goodies/xml/vw
Category:
XML-VW-Attributes
Version:
rev: 1.8 date: 2021/01/20 15:06:57
user: cg
file: ID_AT.st directory: goodies/xml/vw
module: stx stc-classLibrary: vw

Description:


This class represents the ID attribute type. This is also a tokenized type of attribute and values of ID type attributes must match legal names as defined in the XML 1.0 specification. 

For an XML document to be valid, ID values must uniquely identify the elements which bear them; i.e. A name must not appear more than once in an XML document as a value of this type. Also for validity purposes, an ID attribute must have a declared default of #IMPLIED or #REQUIRED in the DTD.

ID and IDREF attributes together provide a simple inside-the-document linking mechanism with every IDREF attribute required to point to an ID attribute.


Instance protocol:

testing
o  isID

validating
o  validateDefinition: anAttributeDefinition for: aParser

o  validateValueOf: anAttribute for: aParser
(comment from inherited method)
We're going to do this the hard way for now.



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 16:58:18 GMT