Project

Profile

Help

xs:any namespace="##other"

Added by Anonymous about 19 years ago

Legacy ID: #3439374 Legacy Poster: Anurag Chakravarti (anurag2002)

Hi, If in xml schema I have <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> then any element should be validated by the saxon schema validator. Is this understanding correct? Saxon schemValidator gives an error printing out the anems of namespaces:elements that are allowed. Regards -Anurag


Replies (1)

RE: xs:any namespace=&quot;##other&quot; - Added by Anonymous about 19 years ago

Legacy ID: #3440864 Legacy Poster: Michael Kay (mhkay)

namespace="##other" should allow any element provided (a) it is in a namespace, and (b) it is not in the target namespace. To explain the error you are getting more fully, I would need more details of the schema and source document. Have you compared Saxon's assessment with other schema processors?

    (1-1/1)

    Please register to reply