XML 1.0 (Second Edition) - W3C Recommendation 6 October 2000
Gobo Eiffel XML Library
Copyright (c) 2002, Eric Bezault and others
Eiffel Forum License v2 (see forum.txt)
$Date: 2005/06/04 22:35:30 $
$Revision: 1.34 $
-- Reset parser before parsing next input.
-- Callbacks event interface to which events are forwarded;
-- If void, a null callback is created on startup.
-- (From XM_FORWARD_CALLBACKS)
-- Callbacks event interface to which events are forwarded;
-- If void, a null callback is created on startup.
-- (From XM_FORWARD_DTD_CALLBACKS)
-- Number of errors detected during last parsing
-- (From YY_PARSER)
-- List of token codes that are a possible input at this stage
-- of parsing. (This routine can be called from the error actions
-- %error or from report_error in order to build a meaningful
-- error message.)
-- (From YY_PARSER_SKELETON)
-- Name of token a_token
-- (From YY_PARSER_TOKENS)
-- Is a_token a possible input at this stage of parsing?
-- (This routine can be called from one of the error actions
-- %error or from report_error in order to find out what
-- were the expected tokens when the error occurred.)
-- (From YY_PARSER_SKELETON)
-- Non incremental parser
-- (From XM_PARSER)
-- Is current parser recovering from a syntax error?
-- (From YY_PARSER)
-- Is string mode set to ascii only?
-- This means that all strings issued by this source
-- will be of dynamic type STRING.
-- (From XM_STRING_MODE)
-- Is string mode set to latin-1 only?
-- This means that all strings issued by this source
-- will be of dynamic type STRING.
-- (From XM_STRING_MODE)
-- Is string mode set to polymorphic strings?
-- This means that strings issued by this source will
-- be of dynamic type STRING for ascii, and dynamic
-- type UC_STRING or descendant when characters >127
-- are present in that string.
-- (From XM_STRING_MODE)
-- Is string mode set to UC_STRING only?
-- This means that all strings issued by this source
-- will be of a dynamic type UC_STRING or descendant.
-- (From XM_STRING_MODE)
-- Is other with the same string mode?
-- (From XM_STRING_MODE)
-- Has last parsing been unsuccesful?
-- (From YY_PARSER)
-- Set all strings issued by this source to be ascii
-- (all characters <= 127) and be of dynamic type STRING.
-- The source will be in an error state if it has
-- characters that do not fit in a STRING.
-- (From XM_STRING_MODE)
-- Set all strings issued by this source to be latin-1
-- (all characters <= 255) and be of dynamic type STRING.
-- The source will be in an error state if it has
-- characters that do not fit in a STRING.
-- (From XM_STRING_MODE)
-- Set all strings issued by this source to be either of
-- type UC_STRING or descendant if they contain characters
-- >127 or of dynamic type STRING otherwise.
-- The client receiving these strings will have to
-- be careful about polymorphically unsafe features
-- of STRING, like append_string.
-- (From XM_STRING_MODE)
-- Set all strings issued by this source to be of
-- dynamic type UC_STRING or descendant.
-- (From XM_STRING_MODE)
-- Clear temporary objects so that they can be collected
-- by the garbage collector. (This routine is called by
-- parse before exiting. It can be redefined in descendants.)
-- Clear internal stacks by default.
-- (From YY_PARSER)
-- Clear objects in internal stacks so that they can
-- be collected by the garbage collector.
-- (From YY_PARSER_SKELETON)
-- Clear the previous lookahead token.
-- Used in error-recovery rule actions.
-- (From YY_PARSER)
-- Raise a syntax error.
-- Report error using the error action %error associated
-- with current parsing state or report_error by default,
-- and perform normal error recovery if possible.
-- (From YY_PARSER)
-- Recover immediately after a parse error.
-- (From YY_PARSER)
-- Report that an end-of-file is expected.
-- (This routine is called by default by parse when it detects
-- such syntax error and can be redefined in descendants.)
-- (From YY_PARSER_SKELETON)
-- Parse input stream.
-- Set syntax_error to True if
-- parsing has not been successful.
-- (From YY_PARSER)
-- Parse from public/system identifier using resolver.
-- (From XM_PARSER)
-- Parse XML document from input stream.
-- (From XM_PARSER)
-- Parse XML document from a_string.
-- (From XM_PARSER)
-- Parse from system identifier using resolver.
-- (From XM_PARSER)
-- Disable namespace parsing and allow strict
-- XML 1.0 names (eg ":" or ":a:b:c:").
-- Namespace field in events is always Void.
-- Are namespaces parsed?
-- Stop the parser, but do not issue an event error because
-- the error is issued by a downstream event.
-- (From XM_PARSER)
-- Resolver for external DTD.
-- (From XM_PARSER)
-- Resolver for external entities.
-- (From XM_PARSER)
-- Set resolver for external entities.
-- (From XM_PARSER)
-- Set both entity and DTD resolvers to the same one.
-- (From XM_PARSER)
-- Precondition always false.
-- (From XM_PARSER)
-- Set callbacks to a_callbacks.
-- (From XM_CALLBACKS_SOURCE)
-- Set dtd_callbacks to a_callbacks.
-- (From XM_DTD_CALLBACKS_SOURCE)
-- Has no error been detected?
-- (From XM_PARSER)
-- Code of last error
-- (See XM_ERROR_CODES.)
-- (From XM_PARSER)
-- Verbose textual description of last error
-- (From XM_PARSER)
-- Create a stop on error filter that not only
-- stops forwarding events but also stops the
-- parser if the error comes from the preceding
-- event filters.
-- The result must be used only for processing events
-- coming from the current parser.
-- (From XM_PARSER)
-- Like 'new_stop_on_error_filter' with next
-- filter.
-- (From XM_PARSER)
-- Header for error message
-- (
-- Current position in the source of the XML document
-- (From XM_PARSER)
-- Current stack of positions, starting with the current entity.
-- (From XM_PARSER)
-- Current file
Use position.source_name
-- No error occurred
-- (From XM_ERROR_CODES)
-- An unknown error occurred
-- (From XM_ERROR_CODES)
-- Parse XML Document from input stream.
[020815] Use parse_from_stream instead.
-- STRING/UC_STRING mode
-- (From XM_STRING_MODE)
XML parser skeletons using a native Eiffel parser