1
%%% The contents of this file are subject to the Erlang Public License,
2
%%% Version 1.0, (the "License"); you may not use this file except in
3
%%% compliance with the License. You may obtain a copy of the License at
4
%%% http://www.erlang.org/license/EPL1_0.txt
6
%%% Software distributed under the License is distributed on an "AS IS"
7
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
8
%%% the License for the specific language governing rights and limitations
11
%%% The Original Code is xmerl-0.15
13
%%% The Initial Developer of the Original Code is Ericsson Telecom
14
%%% AB. Portions created by Ericsson are Copyright (C), 1998, Ericsson
15
%%% Telecom AB. All Rights Reserved.
18
%%% Mickael Remond <mickael.remond@IDEALX.com>:
19
%%% Johan Blom <johan.blom@mobilearts.se>
23
%%%----------------------------------------------------------------------
24
%%% #0. BASIC INFORMATION
25
%%%----------------------------------------------------------------------
26
%%% File: xmerl_scan.erl
27
%%% Author : Ulf Wiger <ulf.wiger@ericsson.com>
28
%%% Description : Simgle-pass XML scanner. See xmerl.hrl for data defs.
30
%%% Modules used : ets, file, filename, io, lists, xmerl_ucs, xmerl_uri
32
%%%----------------------------------------------------------------------
4
%% Copyright Ericsson AB 2003-2009. All Rights Reserved.
6
%% The contents of this file are subject to the Erlang Public License,
7
%% Version 1.1, (the "License"); you may not use this file except in
8
%% compliance with the License. You should have received a copy of the
9
%% Erlang Public License along with this software. If not, it can be
10
%% retrieved online at http://www.erlang.org/.
12
%% Software distributed under the License is distributed on an "AS IS"
13
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
%% the License for the specific language governing rights and limitations
20
%% Description : Simgle-pass XML scanner. See xmerl.hrl for data defs.
33
22
%% @doc This module is the interface to the XML parser, it handles XML 1.0.
34
23
%% The XML parser is activated through
35
24
%% <tt>xmerl_scan:string/[1,2]</tt> or