Updates:
Status: Pending
Comment #1 on issue 1711 by pekka.klarck: Can't build documentation for XML
and Remote libraries
http://code.google.com/p/robotframework/issues/detail?id=1711
With Remote the problem is that you don't have remote server running. The
library itself is a proxy and has now keywords itself.
With XML the problem is that DocumentationBuilder thinks you want to create
a doc based on an existing XML spec file. Here is the code of this factory
method:
def DocumentationBuilder(library_or_resource):
extension = os.path.splitext(library_or_resource)[1][1:].lower()
if extension in RESOURCE_EXTENSIONS:
return ResourceDocBuilder()
if extension == 'xml':
return SpecDocBuilder()
if extension == 'java':
return JavaDocBuilder()
return LibraryDocBuilder()
Possible solutions:
1) We drop 'lower' from the line that gets the extension altogether.
There's a very small backwards compatibility risk there.
2) We use 'lower' only with RESOURCE_EXTENSIONS. Even less backwards
compatibility risks but also inconsistent.
3) You create doc for 'XML', not for 'robot.libraries.XML'.
4) You use concrete LibraryDocBuilder class instead of DocumentationBuilder
factory method.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.