03-28-2013
Yes, for schema type checking, you need a tool that is XSD capable, and the XSD of the file. JAVA and C++ parsers can take the XSD optionally and check XML streams as they flow and xml complete object once they arrive, but it slows processing, so we didn't!
![Big Grin Smilie](https://www.unix.com/images/smilies/biggrin.gif)
We did our own, limited checking, enough to ensure things were stable.
XSD just says the container and payload are legal, but to validate it against most business data rules is outside that: uniqueness, external relational and cross field edits, inter-record dependencies, etc.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello people,
Need favour. The problem I have is that, I need to develop a unix shell script that performs recurring exports of data from a csv file to an oracle database. Basically, the csv file contains just the first name and last name will be dumped to an Unix server. The data from these... (3 Replies)
Discussion started by: vinayagan
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
i am a real dummy about unix. i need your suggestions about an issue.
my problem is that i have a oracle db on unix machine. i will create a procedure on that database which will produce an xml file. however, i need to place this xml to a windows machine and want to make it with pl/sql... (1 Reply)
Discussion started by: merope
1 Replies
3. UNIX for Dummies Questions & Answers
hi,
i want to call unix script from transformations used in informatica mapping?
can we do it in any way? Please reply ASAP.
We cant use Storep procedure transformation
Thanks in Advance
nishith (0 Replies)
Discussion started by: Nishithinfy
0 Replies
4. UNIX for Advanced & Expert Users
Hi,
Can any one share a unix script for validating the export of a mapping which is in XML format.
like my requirment is that when ever we are migrating the mappings or wokflows from development to QA we will take the export of that mapping into an XML file.Insted of reviewing the mapping... (1 Reply)
Discussion started by: perlamohan
1 Replies
5. Shell Programming and Scripting
Hi,
Can any one share a unix script for validating the export of a mapping which is in XML format.
like my requirment is that when ever we are migrating the mappings or wokflows from development to QA we will take the export of that mapping into an XML file.Insted of reviewing the mapping... (1 Reply)
Discussion started by: perlamohan
1 Replies
6. Shell Programming and Scripting
Hi,
How do i call a mapping name and workflow name of an informatica tool in the unix script inorder to execute the mapping.
It would be great if any one of u help me in getting a mapping name in a unix script.
Thanks in advance (0 Replies)
Discussion started by: raji35
0 Replies
7. Shell Programming and Scripting
Hi,
I need a shell script to create to get XML access export from the source server.
Thanks in Advance (3 Replies)
Discussion started by: bcb
3 Replies
8. Shell Programming and Scripting
Hi
i am baby to unix shell script. how do i validate xml agaist xsd and transforms xml using xslt.
Thanks
Mohan (2 Replies)
Discussion started by: mohan.cheepu
2 Replies
9. Shell Programming and Scripting
how do i validate xml agaist xsd is ksh? (1 Reply)
Discussion started by: LiorAmitai
1 Replies
10. Shell Programming and Scripting
Hi,
I want to write a shell script which connect to my database with the following credentials :
User name : user
PWD : rap_user_1
Hostname : app.Unix.Gsm1900.Org
Port : 7862
SID : PTNC1
Once connected to DB i want to fetch data with the help of a SQL statement and expoet... (4 Replies)
Discussion started by: neeraj617
4 Replies
LEARN ABOUT DEBIAN
virt-xml-validate
VIRT-XML-VALIDATE.IN(1) Virtualization Support VIRT-XML-VALIDATE.IN(1)
NAME
virt-xml-validate - validate libvirt XML files against a schema
SYNOPSIS
virt-xml-validate XML-FILE [SCHEMA-NAME]
DESCRIPTION
Validates a libvirt XML for compliance with the published schema. The first compulsory argument is the path to the XML file to be
validated. The optional second argument is the name of the schema to validate against. If omitted, the schema name will be inferred from
the name of the root element in the XML document.
Valid schema names currently include
"domain"
The schema for the XML format used by guest domains configuration
"network"
The schema for the XML format used by virtual network configuration
"storagepool"
The schema for the XML format used by storage pool configuration
"storagevol"
The schema for the XML format used by storage volume descriptions
"nodedev"
The schema for the XML format used by node device descriptions
"capability"
The schema for the XML format used to declare driver capabilities
EXIT STATUS
Upon successful validation, an exit status of 0 will be set. Upon failure a non-zero status will be set.
AUTHOR
Daniel P.Berrange
BUGS
Report any bugs discovered to the libvirt community via the mailing list "http://libvirt.org/contact.html" or bug tracker
"http://libvirt.org/bugs.html". Alternatively report bugs to your software distributor / vendor.
COPYRIGHT
Copyright (C) 2009-2010 by Red Hat, Inc. Copyright (C) 2009 by Daniel P. Berrange
LICENSE
virt-xml-validate is distributed under the terms of the GNU GPL v2+. This is free software; see the source for copying conditions. There
is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
SEE ALSO
virsh(1), online XML format descriptions "http://libvirt.org/format.html"
libvirt-0.9.12.2 2014-01-11 VIRT-XML-VALIDATE.IN(1)