久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      <small id='dtr9E'></small><noframes id='dtr9E'>

      • <bdo id='dtr9E'></bdo><ul id='dtr9E'></ul>
        <legend id='dtr9E'><style id='dtr9E'><dir id='dtr9E'><q id='dtr9E'></q></dir></style></legend>

        <i id='dtr9E'><tr id='dtr9E'><dt id='dtr9E'><q id='dtr9E'><span id='dtr9E'><b id='dtr9E'><form id='dtr9E'><ins id='dtr9E'></ins><ul id='dtr9E'></ul><sub id='dtr9E'></sub></form><legend id='dtr9E'></legend><bdo id='dtr9E'><pre id='dtr9E'><center id='dtr9E'></center></pre></bdo></b><th id='dtr9E'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='dtr9E'><tfoot id='dtr9E'></tfoot><dl id='dtr9E'><fieldset id='dtr9E'></fieldset></dl></div>
      1. <tfoot id='dtr9E'></tfoot>

        多次導(dǎo)入同一個 XSD 會出錯嗎?

        Is it an error to import the same XSD multiple times?(多次導(dǎo)入同一個 XSD 會出錯嗎?)
          <bdo id='bys4u'></bdo><ul id='bys4u'></ul>
        • <small id='bys4u'></small><noframes id='bys4u'>

        • <legend id='bys4u'><style id='bys4u'><dir id='bys4u'><q id='bys4u'></q></dir></style></legend>

                    <tbody id='bys4u'></tbody>
                1. <i id='bys4u'><tr id='bys4u'><dt id='bys4u'><q id='bys4u'><span id='bys4u'><b id='bys4u'><form id='bys4u'><ins id='bys4u'></ins><ul id='bys4u'></ul><sub id='bys4u'></sub></form><legend id='bys4u'></legend><bdo id='bys4u'><pre id='bys4u'><center id='bys4u'></center></pre></bdo></b><th id='bys4u'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='bys4u'><tfoot id='bys4u'></tfoot><dl id='bys4u'><fieldset id='bys4u'></fieldset></dl></div>

                  <tfoot id='bys4u'></tfoot>
                2. 本文介紹了多次導(dǎo)入同一個 XSD 會出錯嗎?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我有一個模式 (a),它導(dǎo)入了另一個模式 (z).然后我有另一個模式 (b) 導(dǎo)入相同的模式 (z).

                  I have a schema (a) that imports another schema (z). Then I have yet another schema (b) that imports that same schema (z).

                  這樣,符合模式 (a) 的 XML 文檔 (d) 也可以包含符合模式 (z) 的可選元素.

                  It happens so that XML document (d) conforming to schema (a) can also contain an optional element that conforms to schema (z).

                  因此,當 (d) 在 .NET 中驗證時,我遇到異常已聲明 simpleType 'z:x'."

                  In consequence, when (d) is validated in .NET, I'm having exception "The simpleType 'z:x' has already been declared."

                  但氧氣也不例外.

                  我想以不引發(fā)此異常的方式配置 .net.只是為了表現(xiàn)得像氧氣.

                  I'd like to configure .net the way it does NOT throw this exception. Just to behave like Oxygen.

                  怎么做?

                  推薦答案

                  出現(xiàn)問題是因為 XSD 建議允許但不要求一致的處理器忽略從已經(jīng)遇到的命名空間導(dǎo)入 XSD..NET 正在重新導(dǎo)入,這是允許的.氧氣忽略了重新進口,這是允許的.

                  The problem arises due to the XSD Recommendation allowing, but not requiring, conformant processors to ignore the import of an XSD from an already encountered namespace. .NET is re-importing, as it is allowed to do. Oxygen is ignoring re-imports, as it is allowed to do.

                  兩者都按照 XSD 建議進行操作.請參閱 4.2.3 跨命名空間對模式組件的引用:

                  Both are operating in conformance to the XSD Recommendation. See the last note in 4.2.3 References to schema components across namespaces:

                  注意:以上措辭謹慎,同一架構(gòu)文檔的多次<import>不會構(gòu)成違反條款2 of 架構(gòu)屬性正確 (§3.15.6),但應(yīng)用程序允許(實際上是鼓勵)避免 <import> 使用相同的模式多次記錄以防止建立的必要性身份組件逐個組件.鑒于 schemaLocation[attribute] 只是一個提示,它是開放給應(yīng)用程序忽略所有但是給定命名空間的第一個 <import>,無論schemaLocation的實際價值,但是這樣的策略有缺失的風(fēng)險提供新的 schemaLocations 時的有用信息.

                  Note: The above is carefully worded so that multiple <import>ing of the same schema document will not constitute a violation of clause 2 of Schema Properties Correct (§3.15.6), but applications are allowed, indeed encouraged, to avoid <import>ing the same schema document more than once to forestall the necessity of establishing identity component by component. Given that the schemaLocation [attribute] is only a hint, it is open to applications to ignore all but the first <import> for a given namespace, regardless of the ·actual value· of schemaLocation, but such a strategy risks missing useful information when new schemaLocations are offered.

                  幸運的是,Oxygen 基于 Xerces,它允許用戶通過以下方式控制此行為

                  Fortunately, Oxygen is based on Xerces, which allows the user to control this behavior via

                  http://apache.org/xml/features/honour-all-schemaLocations

                  不幸的是,.NET XML/XSD 處理器不是基于 Xerces,而且我不知道任何 .NET 版本中的任何并行配置選項.(如果另有說明,我會很樂意更新此答案.)

                  Unfortunately, the .NET XML/XSD processor is not based on Xerces, and I am unaware of any parallel configuration option in any .NET version. (I will happily update this answer if shown otherwise.)

                  這篇關(guān)于多次導(dǎo)入同一個 XSD 會出錯嗎?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  Deleting a directory when clicked on a hyperlink with JAvascript.ASP.NET C#(單擊帶有 JAvascript.ASP.NET C# 的超鏈接時刪除目錄)
                  asp.net listview highlight row on click(asp.net listview 在單擊時突出顯示行)
                  Calling A Button OnClick from a function(從函數(shù)調(diào)用按鈕 OnClick)
                  ASP.net C# Gridview ButtonField onclick event(ASP.net C# Gridview ButtonField onclick 事件)
                  Adding OnClick event to ASP.NET control(將 OnClick 事件添加到 ASP.NET 控件)
                  Multiple submit Button click problem?(多個提交按鈕點擊問題?)
                        <tbody id='MYBck'></tbody>
                        <bdo id='MYBck'></bdo><ul id='MYBck'></ul>
                        <i id='MYBck'><tr id='MYBck'><dt id='MYBck'><q id='MYBck'><span id='MYBck'><b id='MYBck'><form id='MYBck'><ins id='MYBck'></ins><ul id='MYBck'></ul><sub id='MYBck'></sub></form><legend id='MYBck'></legend><bdo id='MYBck'><pre id='MYBck'><center id='MYBck'></center></pre></bdo></b><th id='MYBck'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='MYBck'><tfoot id='MYBck'></tfoot><dl id='MYBck'><fieldset id='MYBck'></fieldset></dl></div>
                          <tfoot id='MYBck'></tfoot>
                          <legend id='MYBck'><style id='MYBck'><dir id='MYBck'><q id='MYBck'></q></dir></style></legend>

                          • <small id='MYBck'></small><noframes id='MYBck'>

                            主站蜘蛛池模板: 成人免费视频网站在线观看 | 国产自产21区 | 亚洲伊人精品酒店 | 日韩在线欧美 | 国内精品免费久久久久软件老师 | 日韩精品无码一区二区三区 | 五月婷婷色 | 国产不卡视频 | 在线看av网址 | 男女免费网站 | 91精品国产综合久久久久久 | 日本精品免费在线观看 | 欧美日韩精品免费 | 伊人艹 | 国产免费视频在线 | 久久久亚洲一区 | 在线免费观看a级片 | 亚洲av毛片成人精品 | 最新国产精品精品视频 | 日韩波多野结衣 | 国产精品一区二区在线 | 天堂av在线影院 | 中文字幕99 | 91av小视频 | 欧美一区二区视频 | 免费看91 | 国产精品不卡一区 | 香蕉超碰| 国产乱码精品一区二区三区中文 | 欧美性生活视频 | 91色网站 | 日韩欧美国产不卡 | 欧美福利视频 | 欧美a级成人淫片免费看 | 免费在线视频精品 | 国产高清精品在线 | 91国产精品在线 | 欧美日韩一区不卡 | 久久久青草婷婷精品综合日韩 | 国产一在线观看 | 欧美日韩电影一区二区 |