michel777 |
Advanced Member |
|
|
|
|
None Specified |
|
Saturday, January 23, 2016 |
Thursday, August 25, 2016 10:43:24 AM |
54 [0.30% of all post / 0.02 posts per day] |
|
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
|
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
|
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
|
Hi,
how to generate sample XML file with given values ? Especially should be set all the boolean attributes "false".
Thanks,
Michel
|
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>
|
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
|
Use schema view
|
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
|
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
|
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
|
|