Commit 0e8cd662 authored by gerd's avatar gerd

Updated.


git-svn-id: https://godirepo.camlcity.org/svn/lib-pxp/trunk@710 dbe99aee-44db-0310-b2b3-d33182c8eb97
parent 1d6f331d
alan Schmitt:
Hi,
I unfortunately had to upgrade my OCaml to the latest cvs version, and
I'm having a hard time getting pxp to compile. The problem occurs both
with 1.1.5 and 1.1.93, and is the following:
ocamlfind ocamlc -g -package "netstring" -c pxp_lexing.ml
File "pxp_lexing.ml", line 60, characters 2-255:
Some record field labels are undefined: lex_mem lex_start_p lex_curr_p
This is because the lexbuf data structure is now:
type lexbuf =
{ refill_buff : lexbuf -> unit;
mutable lex_buffer : string;
mutable lex_buffer_len : int;
mutable lex_abs_pos : int;
mutable lex_start_pos : int;
mutable lex_curr_pos : int;
mutable lex_last_pos : int;
mutable lex_last_action : int;
mutable lex_eof_reached : bool;
mutable lex_mem : int array;
mutable lex_start_p : position;
mutable lex_curr_p : position;
}
Are you aware of this change, and are you planning on releasing another
development version ?
DONE (UNTESTED)
Another (small, easily solved) bug is that "parser" is a keyword, and
needs to be changed in lines 2098 and 2104 of pxp-engine/pxp_yacc.m2y
DONE
-------
- examples/xhtml2html:
einchecken, in release aufnehmen
DONE
- Extended names fr resolver:
type extended_ext_id =
{ xid_private: private_id option;
xid_public: string option;
xid_system: url option;
xid_system_base: url option; (* when xid_system is relative *)
}
method open_in_extended xxid = ...
open_in wird auf open_in_extended abgebildet.
ExtID -> benutzt open_in
XExtId -> benutzt open_in_extended direkt
method active_id = ... gibt extended ID zurck, wobei nicht
genutzte Namen auf None gesetzt werden knnen. Das entity
holt sich die active_id nach dem ffnen.
Jeder Resolver kann sich unter den drei angebotenen (private, public,
system) den passenden aussuchen. relative URLs werden nicht mehr
vom resolver aufgelst, sondern vom Entity.
combine benutzt keine preferred resolvers mehr, sondern sucht stets
von vorne.
DONE
neue Klasse fake_system. Wenn der untergeordnete resolver
funktioniert, wird xid_system auf eine bestimmte URL gesetzt.
???
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment