Permalink
Browse files

Use dtds from docbuilder module

  • Loading branch information...
1 parent f1b8b09 commit e2b9b3e486c8571a0650fe2ba554fa3d2ffd4aff @dreverri dreverri committed Nov 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/erldocs.erl
View
@@ -451,7 +451,7 @@ htmlchars([Else | Rest], Acc) -> htmlchars(Rest, [Else | Acc]).
-spec read_xml(list(), list()) -> tuple().
read_xml(Conf, XmlFile) ->
- Opts = [{fetch_path, [kf(root, Conf) ++ "/priv/dtd/"]},
+ Opts = [{fetch_path, [code:lib_dir(docbuilder, dtd)]},
{encoding, "latin1"}],
{Xml, _} = xmerl_scan:file(XmlFile, Opts),

0 comments on commit e2b9b3e

Please sign in to comment.