XForms Development under XMLSpy2006

I have taken the liberty of cross-posting this note to both the XForms group and the Skimstone lists.

Has anyone been able to use XMLSpy or Stylus Studio as a development environment of XForms? I am presently trying to figure out how to do this with XMLSpy, which can serve as a development environment for xhtml1-strict. Since the template for xhtml1-strict is located in the Altova\XMLSpy2006\Template directory, I copied the template below from skimstone.x-port.net. Since XMLSpy would not validate the template, even after I had added, what I hope was the correct DOCTYPE declaration, XMLSpy issued the following error message:

"XML syntax violated: Unable to load external entity 'xhtml-inlpres.mod' via '-//W3C//ELEMENTS XHTML Inline Presentation 1.0//EN'. 'c:\program files\altova\xmlspy2006\schemas/gcapaper/xhtml-inlpres-1.mod contains an invalid path."

This was expected, since I had not copied the schema set that came with Sidewinder\Viewer2.0\Schema to the Altova\XMLSpy2006\Schemas directory. After I have now done so, XMLSpy still produced, "Unable to locate a reference to a supported schema type (DTD, W3C Schema) within this document instance."

What do I add to the template below to permit XMLSpy to see the appropriate schemas? Where do I put these additions? What is the correct syntax? XMLSpy does work with templates that do not include document type definitions and are solely based on schemas. I have included below an example from wsdl.

Hopefully when this is finished, it will be possible to create XForms with XMLSpy, which will have the secondary advantage that since XMLSpy works under Microsoft Visual Studio, it will then be possible to create XForms with Visual Studio.

Thank you.

Bob Leif

------------------------------------------------------------------------------------------------------------------------------------

XForm template from Introduction to XForms http://skimstone.x-port.net/book/print/26

<?xml version="1.0" encoding="UTF-8"?>

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xs="http://www.w3.org/2001/XMLSchema">

<head>

<object width="0" height="0" id="formsPlayer"
classid="CLSID:4D0ABA11-C5F0-4478-991A-375C4B648F58"

codebase="http://skimstone.x-port.net/files/releases/formsPlayer1.4.3.1028.
cab#Version=1,4,3,1028">

<b>formsPlayer has not been installed.</b>

http://skimstone.x-port.net/book/print/26 (5 of 51)9/6/2006 11:04:21 PM

Introduction to XForms

</object>

<?import namespace="xf" implementation="#formsPlayer"?>

<title>Empty XForm</title>

</head>

<body>

<p>Empty XForm</p>

</body>

</html>

-------------------------------------------------------
WSDL template from XMLSpy

<?xml version="1.0" encoding="utf-8"?>

<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"

xmlns:xs=http://www.w3.org/2001/XMLSchema

xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"

xmlns:y="http://new.webservice.namespace"
targetNamespace="http://new.webservice.namespace">

<types>

<xs:schema/>

</types>

<message name="messageName"/>

<portType name="typeName"/>

<binding name="bindingName" type="y:typeName"/>

<service name="serviceName"/>

</definitions>

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

XForms Sevelopment under XMLSpy

Bob Leif
I have created project files for XMLSpy and Stylus Studio and have found that there are many schemas that I can not validate. I will attach a Word file, which contains a table, which includes the error messages generated by XMLSpy, and a description of what I did. I will also attach the project files. As the Word file shows, I need help and guidance to do any more on this task. Is there the equivalent of a make file for these schemas?
Thank you.

Response from Altova

I have had a long dialog with Altova about supporting XForms.
First, they must be getting a lot of these questions. They have a standard response about why they are not extending their Authentic product to support XForms.

But I really just wanted to add XForms tags to my HTML documents.

Basically they said they had no plans to support XForms.

Here is the exact text:
-------------------------------------------------------------------
Summary: Support for XForms Editing

Entered on 2006-09-18 at 17:32:19 by Steve Wallis:
Hi Dan,

That is currently not possible to allow you to customize the HTML editing process by importing xforms to an existing document.
Thank you!

Best regards,

.. Stephen W. Wallis
.. Technical Support Engineer
.. Altova, Inc.
-------------------------------------------------------------------
I could create a single XML Schema for HTML and import an XML Schema for XForms, but this seems like a lot of work.

Dan McCreary
www.danmccreary.com

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.