用于表示通用文件格式的 XML 模式/格式?
是否存在可用于描述通用文件格式的现有 XML 模式?有些标签会说“文件有一个 x 字节长的标头”、“标头的第一个元素是一个 4 字节无符号整数,表示文件的长度”等?我需要一种这种格式,并希望在我自己提出一种格式之前确保没有现有的标准格式,因为它似乎可能已经存在了。不幸的是,我的谷歌搜索一无所获,但我不知道这是因为什么都没有,还是我只是不知道正确的搜索词。
Is there an existing XML schema that can be used to describe a generic file format? Something that would have tags that say things like "The file has a header that is x bytes long", "The first element of the header is a 4 byte unsigned integer that represents the length of the file", etc. ? I need a format of this sort and wanted to make sure there was not an existing standard one before I come up with one myself, since it seems like the kind of thing that might already be out there. Unfortunately, my Google searches have led me nowhere, but I don't know if that's because there's nothing out there or I just don't know the right search terms.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会考虑 x12.org 对 EDI 所做的工作。他们的文件格式是面向商业的,但可能涵盖您的想法。
I would consider what has been done by x12.org for EDI. Their file formats are commerce oriented, but may cover what you have in mind.