Missing Microsoft XML schema mystery

隐身守侯 提交于 2019-12-25 14:48:13

问题


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.

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.

My question is did Microsoft change the location of their schemas? If so where are they now? Is this format dead?

[edit]

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.


回答1:


IIRC, there is a patent issue and they removed the xml office format for the moment.



来源:https://stackoverflow.com/questions/2053807/missing-microsoft-xml-schema-mystery

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!