dc07155ac5
adding license, making native code support conditional on the architecture as in other OCaml packages and adding PLIST_VARS support. Changelog (excluding bugfixes and changes to deal with new versions of other packages): - 1.2.1: Revised documentation Addition: Pxp_event.unwrap_document Addition: Pxp_dtd.Entity.lookup Addition: node method entity_id Addition: Pxp_event.close_entities Removed: Pxp_core_types_type, Pxp_type_anchor. Pxp_core_types has now three submodules A, S, I taking over the roles Removed: E_pinstr_member. Instead, E_pinstr events are emitted Renaming, and addition: `Entry_content has been renamed to `Entry_element_content. A new `Entry_content with different semantics has been added, now conforming to a standard production. Improvement: The parser also accepts a BOM as UTF-8 sequence. Also, the autodetection of the encoding for UTF-16 has been enhanced - 1.2.0test*: New ~minimization option for the [write] and [display] methods (user wish). Improvement: better control what is printed as DTD for document#write and #display - 1.1.95: Addition of ulex lexing. Revised namespace handling: There are now namespace_scope objects keeping the scoping structure of the namespaces. The namespace_info stuff has been removed. The "display" methods can print XML while respecting the scoping structure. New exceptions Namespace_not_managed, Namespace_prefix_not_managed, Namespace_not_in_scope (all replacing Not_found). Methods of namespace_manager may raise these exceptions. The event-based representation of XML is now symmetrical to the tree-based representation, such that it is possible to convert one representation into the other without loss. The type of events had to be changed to achieve this effect. The new module Pxp_event contains functions for the event-based representation. Addition of pxp-pp, the PXP preprocessor. - 1.1.94: The Pxp_reader module has been completely rewritten. This fixes some problems with relative URLs. - Pxp_yacc has been split up into four modules: Pxp_tree_parser contains now the parser API returning object trees, Pxp_dtd_parser is the parser API returning DTDs, Pxp_ev_parser is the event-based API, and Pxp_core_parser is the core of the parser. Pxp_yacc is still available as compatibility API. As part of the module redesign, Pxp_types includes now parts of its interface from Pxp_core_types_type. I hope this style of programming is comprehensible. - The event-based parser can now preprocess namespaces. Furthermore, there are normalization filters. - 1.1.92: The whole lexing stuff has been restructured. There is a new tool, lexpp, that generates the lexers from only five files. Furthermore, much more 8 bit character sets are now supported as internal encodings. In previous versions of PXP, the internal representation of the XML trees was restricted to either UTF-8 or ISO-8859-1. Now, a number of additional encodings are supported, including the whole ISO-8859 series. - 1.1.91: The curly braces can now even be used inside attributes, and escape from normal XML parsing. There is a new entry point Entry_expr for event-based parsing that expects either a single element, a single processing instruction, or a single comment, or whitespace. This allows more fine-grained control of what is parsed. There is now a "pull parser". In contrast to the "push parser" introduced in 1.1.90, the calling order of parser and parser user have been inverted, i.e. the user calls the parser to get ("pull") the next event instead of letting the parser call back a user function ("push"). An interesting application is that O'Caml's lazy streams can be used to analyze events. An example can be found in examles/pullparser. - 1.1.90: This version introduces a new event-based interface in Pxp_yacc. For start tags, end tags, data strings, and several other things that are found in the XML source so-called events are generated, and a user function is called for every event. See the directory examples/eventparser for examples. Another innovation is support for curly braces as escape characters. Inside elements, the left curly brace escapes from XML parsing and starts a foreign parser until the matching right curly brace is found: <element> ... { foreign syntax } ... </element> The curly braces are borrowed from the XQuery draft standard. They cannot yet be used inside attribute values. Curly braces are mostly useful in conjunction with event-based parsing, because it is not yet possible to include the "value" of the curly brace expression into XML trees. It is even possible to call the XML parser from the foreign parser as subparser. However, there not yet enough entry points for the event-based parser (e.g. you cannot parse just the following processing instruction, only misc* element misc* or whole documents are possible).
92 lines
4.7 KiB
Text
92 lines
4.7 KiB
Text
@comment $NetBSD: PLIST,v 1.3 2012/10/24 13:15:32 jaapb Exp $
|
|
@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/pxp
|
|
@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/pxp-lex-utf8
|
|
@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/pxp-lex-iso88591
|
|
@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/pxp-engine
|
|
lib/ocaml/site-lib/pxp-engine/META
|
|
lib/ocaml/site-lib/pxp-engine/pxp_aux.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_codewriter.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_codewriter.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_core_parser.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_core_parser.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_core_types.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_core_types.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_dfa.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_dfa.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_document.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_document.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_dtd.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_dtd.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_dtd_parser.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_dtd_parser.mli
|
|
${PLIST.opt}lib/ocaml/site-lib/pxp-engine/pxp_engine.a
|
|
lib/ocaml/site-lib/pxp-engine/pxp_engine.cma
|
|
${PLIST.opt}lib/ocaml/site-lib/pxp-engine/pxp_engine.cmxa
|
|
lib/ocaml/site-lib/pxp-engine/pxp_entity.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_entity_manager.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_ev_parser.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_ev_parser.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_event.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_event.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_lex_aux.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_lexer_types.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_lexer_types.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_lexers.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_lexers.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_lexing.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_lexing.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_lib.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_lib.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_marshal.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_marshal.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_reader.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_reader.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_top.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_top.cmo
|
|
lib/ocaml/site-lib/pxp-engine/pxp_top.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_tree_parser.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_tree_parser.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_types.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_types.mli
|
|
lib/ocaml/site-lib/pxp-engine/pxp_yacc.cmi
|
|
lib/ocaml/site-lib/pxp-engine/pxp_yacc.mli
|
|
lib/ocaml/site-lib/pxp-lex-iso88591/META
|
|
${PLIST.opt}lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_iso88591.a
|
|
lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_iso88591.cma
|
|
${PLIST.opt}lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_iso88591.cmxa
|
|
lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_iso88591_01.cmi
|
|
lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_link_iso88591.cmi
|
|
lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_link_iso88591.cmo
|
|
${PLIST.opt}lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_link_iso88591.cmx
|
|
${PLIST.opt}lib/ocaml/site-lib/pxp-lex-iso88591/pxp_lex_link_iso88591.o
|
|
lib/ocaml/site-lib/pxp-lex-utf8/META
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_link_utf8.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_link_utf8.cmo
|
|
${PLIST.opt}lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_link_utf8.cmx
|
|
${PLIST.opt}lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_link_utf8.o
|
|
${PLIST.opt}lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8.a
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8.cma
|
|
${PLIST.opt}lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8.cmxa
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_01.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_02.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_03.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_04.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_05.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_06.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_07.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_08.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_09.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_10.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_11.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_12.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_13.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_14.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_15.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_16.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_17.cmi
|
|
lib/ocaml/site-lib/pxp-lex-utf8/pxp_lex_utf8_18.cmi
|
|
lib/ocaml/site-lib/pxp/META
|
|
@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/pxp-engine
|
|
@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/pxp-lex-iso88591
|
|
@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/pxp-lex-utf8
|
|
@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/pxp
|