C#'s xsd don't work!
-
Hi! There is two schema here, one refer another's attribute definition. test.xsd =========================================== ============================================= user.xsd ============================================= ============================================== .Net provided a fairly good tool call xsd, which can transfer xml schema definition into C#'s class definition. By this tool we can easily couple with data's serialization. but this time xsd can't do it. I typed: xsd user.xsd /c xsd tell me that http://www.nope.org/nope:role doesn't declared. But when i examine it in the famouse xml editor xmlspy 4.2 it validates it without any complain. Where is the fault i made?
-
Hi! There is two schema here, one refer another's attribute definition. test.xsd =========================================== ============================================= user.xsd ============================================= ============================================== .Net provided a fairly good tool call xsd, which can transfer xml schema definition into C#'s class definition. By this tool we can easily couple with data's serialization. but this time xsd can't do it. I typed: xsd user.xsd /c xsd tell me that http://www.nope.org/nope:role doesn't declared. But when i examine it in the famouse xml editor xmlspy 4.2 it validates it without any complain. Where is the fault i made?
-
Hi! There is two schema here, one refer another's attribute definition. test.xsd =========================================== ============================================= user.xsd ============================================= ============================================== .Net provided a fairly good tool call xsd, which can transfer xml schema definition into C#'s class definition. By this tool we can easily couple with data's serialization. but this time xsd can't do it. I typed: xsd user.xsd /c xsd tell me that http://www.nope.org/nope:role doesn't declared. But when i examine it in the famouse xml editor xmlspy 4.2 it validates it without any complain. Where is the fault i made?