ConFoo Montreal 2026: Call for Papers

Voting

: max(seven, seven)?
(Example: nine)

The Note You're Voting On

Drydenmaker
17 years ago
Working with a third party service I got: "SOAP-ERROR: Parsing Schema: unexpected <text> in restriction"

Thought it would be worth it to share. What it is saying is that there is some text in an invalid place. C# seems to ignore it, and if you are using nusoap it doesn't notice it either. But what was causing my problem was something like:
<types>
<schema ...

<simpleType name="some type">
<restriction base="xsd:string">
<enumeration value="foo"/>;
</restriction>
</simpleType>

Note the semicolon (;). Filter that out and your good.

<< Back to user notes page

To Top