comscom@Wiki
UPAにひっかかるのはごめんなの
最終更新:
dotcom
-
view
XMLの妥当性検査するとこんなエラーがでます。
エラー: cos-nonambig: userId and WC[""] (or elements from their substitution group) violate "Unique Particle Attribution". During validation against this schema, ambiguity would be created for those two particles.
こんなの書いたら怒られました。(色々省いてすんごい適当ですが)
<xs:complexType name="UserParameters">
<xs:complexType name="UserParameters">
<xs:sequence> <xs:element name="userId" type="xs:int" /> <xs:element name="userAddress" type="xs:string" /> <xs:any namespace="##local" /> </xs:sequence> </xs:complexType>
エラーをちゃんと読んでみます。
Unique Particle Attributionにひっかかっている?
ううううよくわからん。
Unique Particle AttributionってUPAですね!
Unique Particle Attributionにひっかかっている?
ううううよくわからん。
Unique Particle AttributionってUPAですね!
「UPA xml」「Unique Particle Attribution xml」でぐぐってみましたところのサイトさんに何か書いてありましたありがとうございますうううう。。。
ってことはあれです、anyがいけないようです。
もちょっと調べてみようっと。