/******************************************************************************
* Copyright (c) 2000-2025 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*
* Contributors:
*   Balasko, Jeno
*   Lovassy, Arpad
*   Raduly, Csaba
*   Szabo, Bence Janos
*
******************************************************************************/
//
//  File:          www_w3_org_XML_1998_namespace.ttcn
//  Description:
//  References:
//  Rev:
//  Prodnr:
//  Updated:
//  Contact:       http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
//	Generated from file(s):
//	- xml.xsd
//			/* xml version = "1.0" encoding = "UTF-8" */
//			/* targetnamespace = "http://www.w3.org/XML/1998/namespace" */
////////////////////////////////////////////////////////////////////////////////
//     Modification header(s):
//-----------------------------------------------------------------------------
//  Modified by:
//  Modification date:
//  Description:
//  Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////


module www_w3_org_XML_1998_namespace_e {


import from XSD all;


/* lang (as an attribute name) */
/* denotes an attribute whose value
       is a language code for the natural language of the content of
       any element; its value is inherited.  This name is reserved
       by virtue of its definition in the XML specification. */
/* Notes */
/* Attempting to install the relevant ISO 2- and 3-letter
      codes as the enumerated possible values is probably never
      going to be a realistic possibility. */
/* See BCP 47 at */
/* http://www.rfc-editor.org/rfc/bcp/bcp47.txt */
/* and the IANA language subtag registry at */
/* http://www.iana.org/assignments/language-subtag-registry */
/* for further information. */
/* The union allows for the 'un-declaration' of xml:lang with
      the empty string. */
type union Lang
{
	XSD.Language language_,
	enumerated {
		x
	} alt_
}
with {
  variant "name as uncapitalized";
  variant "useUnion";
  variant "attribute";
  variant (language_) "name as 'language'";
  variant (alt_) "name as ''";
  variant (alt_) "text 'x' as ''";
};


/* space (as an attribute name) */
/* denotes an attribute whose
       value is a keyword indicating what whitespace processing
       discipline is intended for the content of the element; its
       value is inherited.  This name is reserved by virtue of its
       definition in the XML specification. */
type enumerated Space
{
	default_,
	preserve
}
with {
  variant "text 'default_' as 'default'";
  variant "name as uncapitalized";
  variant "attribute";
};


/* base (as an attribute name) */
/* denotes an attribute whose value
       provides a URI to be used as the base for interpreting any
       relative URIs in the scope of the element on which it
       appears; its value is inherited.  This name is reserved
       by virtue of its definition in the XML Base specification. */
/* See */
/* http://www.w3.org/TR/xmlbase/ */
/* for information about this attribute. */
type XSD.AnyURI Base
with {
  variant "name as uncapitalized";
  variant "attribute";
};


/* id (as an attribute name) */
/* denotes an attribute whose value
       should be interpreted as if declared to be of type ID.
       This name is reserved by virtue of its definition in the
       xml:id specification. */
/* See */
/* http://www.w3.org/TR/xml-id/ */
/* for information about this attribute. */
type XSD.ID Id
with {
  variant "name as uncapitalized";
  variant "attribute";
};


}
with {
  encode "XML";
  variant "namespace as 'http://www.w3.org/XML/1998/namespace' prefix 'xml'";
  variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
}
