缺少Microsoft XML模式之谜 [英] Missing Microsoft XML schema mystery
问题描述
I downloaded the XML schema's for Office 2003 from Microsoft's download site here so I can validate Excel documents that people upload to our app. Turns out that they don't work. I receive errors where it can't resolve the type like this:
org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'udcxf:File'
to a(n) 'element declaration' component.
我已将此错误追溯到以下事实:udc.xsd文件对 http://schemas.microsoft.com/data/udc/xmlfile 无效.当您拉起该URL时,不会提供任何服务,因此XML验证程序无法解析这些引用是有道理的.
I've traced this error to the fact that the udc.xsd file which makes a namespace reference to http://schemas.microsoft.com/data/udc/xmlfile which is not valid. When you pull that url up there is nothing served up, so it makes sense that the XML validator is unable to resolve these references.
我的问题是Microsoft是否更改了其架构的位置?如果是这样,他们现在在哪里?这种格式死了吗?
My question is did Microsoft change the location of their schemas? If so where are they now? Is this format dead?
在主机schemas.microsoft.com上,似乎Office 2003 xsd指向的所有引用URI都只产生404.
It seems all of the referenced URI's that their office 2003 xsd's point to, that are on the host schemas.microsoft.com all just yield 404s.
推荐答案
IIRC,有一个专利问题,他们暂时删除了xml office格式.
IIRC, there is a patent issue and they removed the xml office format for the moment.
这篇关于缺少Microsoft XML模式之谜的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!