Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以在 IE 中使用 ActiveXObject 执行此操作,但是 mozilla 不支持 ActiveXObject。有什么方法可以使用 JS 来针对 firefox 中的 XSD 模式验证 XML?
不,没有其他浏览器内置了 Schema 验证器。如果您真的想在浏览器中运行验证器,则必须用 JavaScript 编写自己的代码。(这是一件非常不寻常的事情;通常这种事情是严格的服务器端的。)