[relaxng-user] Problems converting <xs:any> schema elements

Spencer Cheng spencer at aotera.org
Thu May 27 21:40:33 ICT 2004


Hi Folks,

I am trying to convert some existing W3C XML schema from MPEG into 
relaxNG schema using Sun's RNG converter (mainly so I can edit XML 
documents using nXML). I am running into problems with the conversion 
of xs:any elements.

The original elements typically looks like this.

<xsd:any namespace="##other" processContents="lax"/>

The output from rngconv looks like

<define name="any(lax:##other)5">

Which does not validate. Being new to relaxNG, would someone provide 
some hints on how to fix these manually? I could remove them from the 
original schema but that seems to be cheating. :)

Regards
Spencer



More information about the relaxng-user mailing list