XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Victor MathisSubject: Mapper Data Population Failed!
Author: Victor Mathis
Date: 07 Aug 2002 09:12 AM
When mapping from a schema to a dtd, where the schema includes another schema file (with a namespace reference), saving and/or switch to the XSLT source view leads to presentation of a Stylus Studio error message popup with the following text: "Mapper data population failed!". If I merge the parent and sub schemas together, eliminating the separate namespace reference, the error does not occur. However, the intent is for the sub schema to be leveraged (as a base) across a number of top level schemas. Within your tool, these schemas validate together and validate against a sample XML document written accordingly, so they are apparently well/properly formed. Is the Excelon Stylus data mapper unable to support multiple namespaces? Please advise. Thank you!

Some supporting detail follows...

ddsBaseTypes.xsd:

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1.0">
...
</xsd:schema>

MemberEnrollment.xsd:
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.pscdds.com/v1.0" xmlns="http://www.pscdds.com/v1.0" elementFormDefault="qualified">

<xsd:include schemaLocation="ddsBaseTypes.xsd"/>
...
</xsd:schema>

Posttop
(Deleted User) Subject: Re: Mapper Data Population Failed!
Author: (Deleted User)
Date: 07 Aug 2002 12:47 PM
hi, victor

Currently mapper does not handle multiple namespace from xsd schema. I'll
file a PCR for this.

but in your exmaple, I don't see multiple namespace, you have only one
targetNamesapce in MemberEnrollment.xsd, it shouldn;t have any problem. If
you do have multiple targetNamespace definition in your schema files, I
would suggest you to use the xml instance file(I believe you must have it
that comply with your schema) as the source when you do mapping...

It would be very helpful if you can send us your two schema files and the
xml file comply with the shcema.

thanks

song



----- Original Message -----
From: "stylus-studio-xslt Listmanager"
To:
Sent: Wednesday, August 07, 2002 9:27 AM
Subject: Mapper Data Population Failed!


> From: "Victor Mathis"
>
> When mapping from a schema to a dtd, where the schema includes another
schema file (with a namespace reference), saving and/or switch to the XSLT
source view leads to presentation of a Stylus Studio error message popup
with the following text: "Mapper data population failed!". If I merge the
parent and sub schemas together, eliminating the separate namespace
reference, the error does not occur. However, the intent is for the sub
schema to be leveraged (as a base) across a number of top level schemas.
Within your tool, these schemas validate together and validate against a
sample XML document written accordingly, so they are apparently
well/properly formed. Is the Excelon Stylus data mapper unable to support
multiple namespaces? Please advise. Thank you!
>
> Some supporting detail follows...
>
> ddsBaseTypes.xsd:
>
> <?xml version="1.0"?>
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" version="1.0">
> ...
> </xsd:schema>
>
> MemberEnrollment.xsd:
> <?xml version="1.0"?>
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.pscdds.com/v1.0"
xmlns="http://www.pscdds.com/v1.0" elementFormDefault="qualified">
>
> <xsd:include schemaLocation="ddsBaseTypes.xsd"/>
> ...
> </xsd:schema>
>
>
>
>
> To reply: mailto:stylus-studio-xslt.5440@edn.exln.com
> To start a new topic: mailto:stylus-studio-xslt@edn.exln.com
> To login: http://edn.exln.com/~SSDN
>
>

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.