Google未找到任何结果。
该模型是从Zbrush创建并导出的,并且是专有的,我无法发布。
我第一次加载文件时没有错误。我退出Xcode刷新了派生数据目录,现在我收到了这个错误。
然后我跑了file:///.file/id=6571367.132290036:警告:文件一致性问题: 第0行:找到2个具有相同ID“dogtest _”的元素
xmllint --noout --schema http://www.khronos.org/files/collada_schema_1_4_1.xsd dogtest.dae
然后返回
来自154的dogtest.dae:154:元素节点:架构有效性错误:元素 '{http://www.collada.org/2005/11/COLLADASchema} node',属性'id': 'dogtest_'不是原子类型'xs:ID'的有效值。 dogtest.dae无法验证
行是关于节点的
<node id="dogtest_" name="dogtest_" type="NODE">
<translate sid="translate">0 0 0</translate>
<rotate sid="rotateZ">0 0 1 0</rotate>
<rotate sid="rotateY">0 1 0 0</rotate>
<rotate sid="rotateX">1 0 0 0</rotate>
<scale sid="scale">1 1 1</scale>
<instance_geometry url="#dogtest_">
<bind_material>
<technique_common>
<instance_material symbol="dogtest__blinnSG" target="#dogtest__blinn">
<bind_vertex_input semantic="TEX0" input_semantic="TEXCOORD" input_set="0"/>
</instance_material>
</technique_common>
</bind_material>
</instance_geometry>
</node>
之前有没有人见过这个错误?
答案 0 :(得分:1)
已修复,请阅读xml架构。我很确定这是Zbrush中的一个错误。
是
<node id="dogtest_" name="dogtest_" type="NODE">
是
<node id="MYdogtest_" name="dogtest_" type="NODE">
现在验证
xmllint --noout --schema http://www.khronos.org/files/collada_schema_1_4_1.xsd dogtest.dae
dogtest.dae validates