C++ xsdcxx如何为mathml3创建类?

C++ xsdcxx如何为mathml3创建类?,c++,xml,xsd,C++,Xml,Xsd,我下载了。 xsdcxx似乎无法为导入的文件创建类。我使用 XSDCXX CX-树——根元素-匿名ReXEX '*.*(+)/%$1$ $ 2% MthML3.xSD/来创建C++类,但是,它只创建文件 MthML3.H.CXX,主要包含以下内容: #include "mathml3-content.hxx" #include "mathml3-presentation.hxx" #include "mathml3-common.hxx&qu

我下载了。 xsdcxx似乎无法为导入的文件创建类。我使用<代码> XSDCXX CX-树——根元素-匿名ReXEX '*.*(+)/%$1$ $ 2% MthML3.xSD/<代码>来创建C++类,但是,它只创建文件<代码> MthML3.H.CXX,主要包含以下内容:

#include "mathml3-content.hxx"

#include "mathml3-presentation.hxx"

#include "mathml3-common.hxx"

namespace Math
{
  namespace MathML
  {
  }
}

但是,不会创建
mathml3-*
。我尝试在每个文件上使用此命令,但是,它不起作用,因为它仅在所有文件的内容都可用时才起作用:

$ xsdcxx cxx-tree --generate-forward --root-element-all  --anonymous-regex '%.* .* (.+)/(.+)%$1_$2%' mathml3-common.xsd
mathml3-common.xsd:8:80: error: group 'http://www.w3.org/1998/Math/MathML:MathExpression' not found
mathml3-common.xsd:9:54: error: attributeGroup 'http://www.w3.org/1998/Math/MathML:math.attributes' not found
mathml3-common.xsd:77:53: error: group 'http://www.w3.org/1998/Math/MathML:MathExpression' not found

当然,mathml3-common.xsd中没有定义MathExpression。谁能告诉我哪些选项可以告诉xsdcxx在所有导入的xsd文件中生成所有类