-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Description
I may be misunderstanding, but https://xml4r.github.io/libxml-ruby/LibXML/XML/Dtd.html gives public class methods of:
XML::Dtd.new("DTD string") → dtd
XML::Dtd.new("public", "system") → dtd
XML::Dtd.new("name", "public", "system", document) → external subset dtd
XML::Dtd.new("name", "public", "system", document, false) → internal subset dtd
XML::Dtd.new("name", "public", "system", document, true) → internal subset dtd
The source identifies arguments as:
// 1 argument -- string --> parsujeme jako dtd
// 2 arguments -- public, system --> bude se hledat
// 3 arguments -- public, system, name --> creates an external subset (any parameter may be nil)
// 4 arguments -- public, system, name, doc --> creates an external subset (any parameter may be nil)
// 5 arguments -- public, system, name, doc, true --> creates an internal subset (all but last parameter may be nil)
Is the documentation incorrectly placing the "name" as the first parameter instead of the third in examples thre, four and five?
Metadata
Metadata
Assignees
Labels
No labels