Re: Test map successsfull, but no data



Jon,

I'm pretty sure that it's the xml file that's causing the problems. I
see that the root node has a prefix and this is not something you see
often. If I remember correctly you need to do something special to
accomplish this.

Before we go that way can you try the following?

- Right click the schema and choose properties
- Set the input instance to the original xml file
- Confirm the options by clicking OK
- Right click the schema again and choose to validate the instance
- This should result in validation succeeded
- Try to view the output of the validation (there should be a link to
it in the output window)
- Does the output look like what you expect? So isn't it empty?

Sander Schutten
Avanade

Jon Jacobs wrote:
<ns0:CUSTOMER_TYPE type="CHAR" />
This is what your Xslt generates and it must generate it!
You created such a map that's it.
But if the input to Test Map is:
<CustomerMaster_Industry_Code_1>8711</CustomerMaster_Industry_Code_1>
Then shouldn't the output be:
<ns0:CUSTOMER_TYPE type="CHAR">8711<ns0:CUSTOMER_TYPE>

Jon

.



Relevant Pages

  • Re: InvalidOperationException: ReadElementContentAsString method is not supported on node type None
    ... I want to import a user uploaded XML file into a database. ... XmlReaderSettings readerSettings = new XmlReaderSettings; ... now I have an XmlReader object with a schema so I check for validation. ...
    (microsoft.public.dotnet.xml)
  • Problem with partial validation
    ... I have a problem when I select node elements from an xml file and validata ... I have defined a schema for details of a particular service request. ... Is the definition of namespace in the selected node causing the validation ...
    (microsoft.public.dotnet.xml)
  • Re: SAX parser problem
    ... against a given schema. ... turns on validation, whether it be against a DTD or any other schema ... attribute within the XML file, which will probably be in a remote ... the parser up and not by simply using the setValidationmethod. ...
    (comp.lang.java.programmer)
  • ProcessSchemaLocation Validation schemaLocation "Not Working"
    ... Please tell me what I have got wrong because no Validation Error is ... does not conform to schema. ... schemas in the XML file. ... public static bool isValid; ...
    (microsoft.public.dotnet.xml)
  • Re: Decimal Type in a XSD Schema and problems with DataAdapter
    ... for the element in the schema) if you want the empty elements to valdiate ... against the schema. ... the type of guarantyPercent is decimal. ... > In the XML file the guarantyPercent can be empty: ...
    (microsoft.public.dotnet.xml)

Loading