Hi, Thanks for reporting. I think it's a same issue as: https://bitbucket.org/birkenfeld/sphinx/issue/1450/xml-builder-creates-invalid-xml-file and it's a limitation for now.
Please wait a newer docutils, or, bump-up the docutils ticket :) http://sourceforge.net/p/docutils/bugs/253/ Thanks. -- Takayuki SHIMIZUKAWA http://about.me/shimizukawa 2014-04-16 13:13 GMT+09:00 Akihiro Takizawa <[email protected]>: > Hello, > > I want to convert Sphinx document through XML, process with make xml > command. Mostly doing well, but when function directive is used, > output isn't valid XML. > > Following is sample rst source and output, "module" attribute in desc > element has no value. > > Anybody see same problem? if you have some hit for solve it, please let me > know. > > Thank you, > Akihiro > > -------------------------------- > > .. function:: smart_function(arg) > > doing something smart, isn't it cool ? > > :param arg: specify something smart argumant. > > > -------------------------------- > <index entries="['single',\ u'smart_function()\ (built-in\ > function)',\ u'smart_function',\ '']"></index> > <desc desctype="function" domain="py" noindex="False" objtype="function"> > <desc_signature class="" first="False" fullname="smart_function" > ids="smart_function" module > names="smart_function"><desc_name>smart_function</desc_name><desc_parameterlist><desc_parameter>arg</desc_parameter></desc_parameterlist></desc_signature> > <desc_content> > <paragraph>doing something smart, isn't it cool ?</paragraph> > <field_list> > <field> > <field_name>Parameters</field_name> > <field_body> > <paragraph><strong>arg</strong> -- specify > something smart argumant.</paragraph> > </field_body> > </field> > </field_list> > </desc_content> > </desc> > -------------------------------- > > -- >>>> Akihiro_Takizawa > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
