Last desperate hope for appeal, as I'm running out of ideas - hoping there are some XMLSpy gurus hiding out there.
I'm trying to validate the output messages from the openspml.org free java toolkit against the SPML XML Schema definition document:
http://www.oasis-open.org/committees/download.php/4138/os-pstc-spml-schema-1.0.xsdThis imports these three schemas:
http://www.oasis-open.org/committees/dsml/docs/DSMLv2.xsdhttp://www.oasis-open.org/committees/security/docs/cs-sstc-schema-assertion-01.xsdhttp://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsdI am pretty much out of options now so if anyone can point me towards a community who might be helpful (the mailing list at openspml.org appears not to accept new registrations anymore) or, preferably, just let me know of any tools that will validate this schema, I'd be eternally grateful.
In more detail ...
After failing a number of times with a number of other tools (including the WST extension to eclipse, and a few java parsers), I've resorted to the trial version of XMLSpy 2005, which I believe is supposed to be the best tool for working in situations like this. However, although XMLSpy can sucessfully validate the other required XML Schemas where my other tools failed, it still cannot validate the SPML v1.0 XML Schema itself:
"This schema doesn't appear to be valid by itself (as a part of another schema, it might still be OK): Cannot resolve declaration or definition 'attr' in namespace 'urn:oasis:names:tc:DSML:2
.0:core'."
There are comments at the start of the SPML XML Schema listing four lines which may be required to be inserted into the DSML v2 schema file, in order to parse the SPML schema but no matter where I think they should go, I still cannot get the SPML schema to validate. :/ I'm fairly new to XML so it's quite possible I'm just being thick about exactly where these lines are meant to go.
Can anyone show me how to modify the schemas to create something that will validate in XMLSpy? Any extra hints on top of how to validate a message against the schema after that, would be awesome!
Many thanks for any response,
Sam.
Start Free Trial