質問編集履歴

2

誤字の修正

2017/10/30 02:58

投稿

irohamaru
irohamaru

スコア15

test CHANGED
File without changes
test CHANGED
@@ -8,11 +8,11 @@
8
8
 
9
9
  ところが、xsdの読み込みに失敗とのエラーが出ており、解決策が見つからない状況です。
10
10
 
11
- どうやら、以下ソースコード中のXXXXX.xsdの読み込みはOKなのですが、その中でimportされているYYYYY.xsd,ZZZZZ.xsdの読み込みに失敗しているようです。
11
+ どうやら、以下ソースコード中のXXXXX.xsdの読み込みはOKなのですが、その中でimportされているYYYYY.xsd,ZZZZZ.xsdの読み込みに失敗しているようです。
12
-
13
-
14
-
12
+
13
+
14
+
15
- YYYYY.xsd,ZZZZZ.xsdの読み込みが正常に行われるためにはどうしたらよいでしょうか?
15
+ YYYYY.xsd,ZZZZZ.xsdの読み込みが正常に行われるためにはどうしたらよいでしょうか?
16
16
 
17
17
 
18
18
 

1

YYYYY.xsd, ZZZZZ.xsdを追加

2017/10/30 02:58

投稿

irohamaru
irohamaru

スコア15

test CHANGED
File without changes
test CHANGED
@@ -163,3 +163,129 @@
163
163
 
164
164
 
165
165
  ```
166
+
167
+
168
+
169
+ YYYYY.xsd
170
+
171
+ ```
172
+
173
+ <?xml version="1.0" encoding="utf-8"?>
174
+
175
+ <schema xmlns="http://www.w3.org/2001/XMLSchema"
176
+
177
+ xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
178
+
179
+ targetNamespace="http://www.w3.org/2000/09/xmldsig#"
180
+
181
+ version="1.0" elementFormDefault="qualified" attributeFormDefault="unqualified">
182
+
183
+
184
+
185
+ <simpleType name="CryptoBinary">
186
+
187
+ <restriction base="base64Binary">
188
+
189
+ </restriction>
190
+
191
+ </simpleType>
192
+
193
+
194
+
195
+ <element name="Signature" type="ds:SignatureType"/>
196
+
197
+ <complexType name="SignatureType">
198
+
199
+ <sequence>
200
+
201
+ <element ref="ds:SignedInfo"/>
202
+
203
+ <element ref="ds:SignatureValue"/>
204
+
205
+ <element ref="ds:KeyInfo" minOccurs="0"/>
206
+
207
+ <element ref="ds:Object" minOccurs="0" maxOccurs="unbounded"/>
208
+
209
+ </sequence>
210
+
211
+ <attribute name="Id" type="ID" use="required"/>
212
+
213
+ </complexType>
214
+
215
+
216
+
217
+ (以下略)
218
+
219
+
220
+
221
+ ```
222
+
223
+
224
+
225
+ ZZZZZ.xsd
226
+
227
+ ```
228
+
229
+ <?xml version="1.0" encoding="UTF-8"?>
230
+
231
+ <xsd:schema targetNamespace="http://xml.e-tax.nta.go.jp/XSD/general"
232
+
233
+ xmlns="http://xml.e-tax.nta.go.jp/XSD/general"
234
+
235
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
236
+
237
+ elementFormDefault="qualified" attributeFormDefault="unqualified"
238
+
239
+ version="1.0">
240
+
241
+
242
+
243
+ <xsd:annotation>
244
+
245
+ <xsd:documentation>
246
+
247
+ 共通ボキャブラリ
248
+
249
+ version:β2.1
250
+
251
+ Date:2017年01月13日
252
+
253
+ </xsd:documentation>
254
+
255
+ </xsd:annotation>
256
+
257
+
258
+
259
+ <!-- Include -->
260
+
261
+ <xsd:include schemaLocation="../general/zeimusho.xsd" />
262
+
263
+ <xsd:include schemaLocation="../general/zeimoku.xsd" />
264
+
265
+ <xsd:include schemaLocation="../general/ITreference.xsd" />
266
+
267
+
268
+
269
+ <!--General-->
270
+
271
+ <xsd:attributeGroup name="FormAttribute">
272
+
273
+ <xsd:attribute name="page" type="xsd:positiveInteger"/>
274
+
275
+ <xsd:attribute name="softNM" type="xsd:string" use="required"/>
276
+
277
+ <xsd:attribute name="sakuseiNM" type="xsd:string" use="required"/>
278
+
279
+ <xsd:attribute name="sakuseiDay" type="xsd:date" use="required"/>
280
+
281
+ <xsd:attribute name="id" type="xsd:ID"/>
282
+
283
+ </xsd:attributeGroup>
284
+
285
+
286
+
287
+ (以下略)
288
+
289
+
290
+
291
+ ```