IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: michel777
About
User Name: michel777
Forum Rank: Advanced Member
Real Name:
Location
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Saturday, January 23, 2016
Last Visit: Thursday, August 25, 2016 10:43:24 AM
Number of Posts: 54
[0.30% of all post / 0.02 posts per day]
Avatar
Last 10 Posts
Topic: validate xml from command line
Posted: Saturday, July 30, 2016 10:36:09 AM
Hi,

is it possible to validate xml files using XMLSpy without opening them (from commad line) ?

If not: is there an other way, then using RaptorXML ?

Thanks Michel
Topic: using web service function
Posted: Thursday, July 28, 2016 1:15:26 PM
Hi,

would it be possible to call our own java implementation for the web service instead to call MapForce own implementation ?

Thanks in advance,

Michel
Topic: using xml input
Posted: Thursday, July 28, 2016 9:35:13 AM
Hi,

we will update an xml with MapForce. There is several must elements (minOccurs = 1) in xsd. All the elements are set in xml.

But the corresponding map is not valid, because the map requires to set those elements on the map.

Is there any way to tell MapForce: "please check the input xml first...".

Thanks,

Michel
Topic: sampling with given values
Posted: Thursday, July 28, 2016 6:58:10 AM
Hi,

how to generate sample XML file with given values ? Especially should be set all the boolean attributes "false".

Thanks,

Michel
Topic: restriction base data type
Posted: Wednesday, July 27, 2016 5:09:00 PM
Hi,

I got an error using complex type for base (xs:restriction base=beam:integer ...) :

File ... xsd is not valid.
Type '{anonymous}' is not a valid restriction of type 'beam:integer'. (see Details)
Error location: xs:schema / xs:complexType / xs:sequence / xs:element / xs:simpleType
Details
cos-st-restricts.1.1: The base type definition 'beam:integer' must be an atomic simple type definition or a built-in primitive data type.

According to http://www.w3schools.com/xml/el_restriction.asp, Example 4 also ComplexType can be used (see below).

What is right ?

Thanks Michel

<xs:sequence>
<xs:element name="firstname" type="xs:string"/>
<xs:element name="lastname" type="xs:string"/>
<xs:element name="country" type="xs:string"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="Norwegian_customer">
<xs:complexContent>
<xs:restriction base="customer">
<xs:sequence>
<xs:element name="firstname" type="xs:string"/>
<xs:element name="lastname" type="xs:string"/>
<xs:element name="country" type="xs:string" fixed="Norway"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>






Topic: bulk extend elements with elements / attributes
Posted: Tuesday, July 26, 2016 8:58:47 PM
Hi,

we are going to implement a xsd parser for generate UI based on the xsd. We need attach some further elements or attributes to each of elements in the xsd. Those elements or attributes are e.g. :

<xs:element name="visible" type="xs:boolean"/>
<xs:element name="group" type="xs:string"/>
<xs:element name="mandatory" type="xs:boolean"/>
<xs:element name="editable" type="xs:boolean"/>
or
<xs:attribute name="visible" type="xs:boolean"/>
<xs:attribute name="group" type="xs:string"/>
<xs:attribute name="mandatory" type="xs:boolean"/>
<xs:attribute name="editable" type="xs:boolean"/>

What is the simplest way to "extend" the xsd definitions ?

Thanks a lot in advance,

Michel



Topic: Replacing complexType with the definition
Posted: Tuesday, July 26, 2016 8:44:11 PM
Use schema view
Topic: Replacing complexType with the definition
Posted: Tuesday, July 26, 2016 2:59:15 PM
Hi,

MapForce replaces the complexTypes with the definition of the complexTypes on the map. Is it possible the same with XMLSpy ?

Thanks a lot,

Michel
Topic: locate generated java code for user defined function
Posted: Monday, July 25, 2016 4:59:12 PM
Hi,

I would like to replace the java generated code for a user defined function. But I can not find it. Is there no java code for a user defined function ?

Thanks in advance,

Michel
Topic: user defined function creating multiple output
Posted: Sunday, July 24, 2016 7:58:39 PM
Vlad: thanks a lot, especially for your effort on the weekend.

Just a question: I have an array of integer, but how to create the elements (complex type ) to each of them ?

Thanks,

Michel

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.