Skip to content

Commit

Permalink
Prefixed internal module Xml_parser.
Browse files Browse the repository at this point in the history
It is now Markup__xml_parser. This is done to avoid conflict with
Xml-Light's internal module Xml_parser. In principle, all Markup.ml
modules should get prefixed names, but I am putting this off until
Markup.ml is converted to Namespaces (or I abandon the attempt).
Namespaces prefixes modules automatically.
  • Loading branch information
aantron committed Mar 15, 2016
1 parent f7f3339 commit f2e72e7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/markup.ml
Expand Up @@ -96,7 +96,7 @@ struct
|> encoding ~report
|> Input.preprocess Common.is_valid_xml_char report
|> Xml_tokenizer.tokenize report entity
|> Xml_parser.parse context namespace report
|> Markup__xml_parser.parse context namespace report
|> k
in

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/test_xml_parser.ml
Expand Up @@ -23,7 +23,7 @@ let expect ?context ?(namespace = no_top_level_namespaces) text signals =
|> Encoding.utf_8
|> Input.preprocess is_valid_xml_char Error.ignore_errors
|> Xml_tokenizer.tokenize Error.ignore_errors no_custom_entities
|> Xml_parser.parse context namespace report
|> Markup__xml_parser.parse context namespace report
|> iter iterate;

ended ()
Expand Down

0 comments on commit f2e72e7

Please sign in to comment.