Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect <any /> element information #86

Merged
merged 2 commits into from
Sep 1, 2024

Conversation

veewee
Copy link
Contributor

@veewee veewee commented Aug 30, 2024

This PR introduces a new specialAny element type.

https://learn.microsoft.com/en-us/previous-versions/dotnet/netframework-4.0/ms256043(v=vs.100)

<any
  id = ID 
  maxOccurs = (nonNegativeInteger | unbounded) : 1
  minOccurs = nonNegativeInteger : 1 
  namespace = "(##any | ##other) | List of (anyURI | (##targetNamespace |  ##local))) : ##any 
  processContents = (lax | skip | strict) : strict 
  {any attributes with non-schema Namespace...}>
Content: (annotation?)
</any> 
<element name="GetCustomerDetailsResponse">
    <complexType>
        <sequence>
            <element name="customerName" type="xsd:string" />
            <element name="customerEmail" type="xsd:string" />
            <element name="customerData">
                <complexType>
                    <sequence>
                        <any processContents="lax" />
                    </sequence>
                </complexType>
            </element>
        </sequence>
    </complexType>
</element>

This new Any type can be used to acknowledge additional unkown XML elements can be available on the customerData element.

@goetas goetas merged commit 8f4e6fb into goetas-webservices:master Sep 1, 2024
@goetas
Copy link
Member

goetas commented Sep 1, 2024

nothing to complain, looks good! :)

@veewee
Copy link
Contributor Author

veewee commented Oct 25, 2024

@goetas Just wondering : are you waiting on something specific to tag this?

@goetas
Copy link
Member

goetas commented Oct 30, 2024

oh, i forgot, done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants