Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 69F7599A4 for ; Tue, 9 Dec 2014 11:34:35 +0000 (UTC) Received: (qmail 2633 invoked by uid 500); 9 Dec 2014 11:34:34 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 2584 invoked by uid 500); 9 Dec 2014 11:34:34 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 2573 invoked by uid 99); 9 Dec 2014 11:34:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Dec 2014 11:34:34 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [212.227.17.10] (HELO mout.kundenserver.de) (212.227.17.10) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Dec 2014 11:34:07 +0000 Received: from JanmySN ([77.10.43.72]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0MPGpE-1Y2glw1cZ6-004TGm for ; Tue, 09 Dec 2014 12:33:56 +0100 From: =?iso-8859-1?Q?Jan_Mat=E8rne_=28jhm=29?= To: References: <1418119091455-5760376.post@n5.nabble.com> In-Reply-To: <1418119091455-5760376.post@n5.nabble.com> Subject: AW: camel - xsd Date: Tue, 9 Dec 2014 12:33:26 +0100 Message-ID: <001901d013a3$f30dcfb0$d9296f10$@de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdATl+/s95hIgLYJTSSCjjMyXCutggAC0s7A Content-Language: de X-Provags-ID: V03:K0:X7xfjJQyyVAgC6gJwyDAET+fV4q72/9DFqgKgNbV5UvMmMZsdkj LayUnar9QkOhEtm1lwu3g6ZPTPpaV6GwAOU37I+d0vk9mLIfJNkhKcwLXPD683qf6JOgGIE etEHOd4ObMsTyEMSXc4MhOZ1pSkn3g6fRd6xlnyn0rlxFR3Vzes5JHsKdB3pEDXBj3g/Ch0 B7OVn6hAkUHGfNX/miaZQ== X-UI-Out-Filterresults: notjunk:1; X-Virus-Checked: Checked by ClamAV on apache.org "How to read a xsd" - this was discussed just a few days ago ... 1. Read the data, doesn't matter if xml or not, from your datasource = (file, db, http, ...). 2. Optionally validate against xsd: = http://camel.apache.org/validation.html 3. Optionally bind the data to JAXB classes (classes generated from xsd) http://camel.apache.org/jaxb.html Jan > -----Urspr=FCngliche Nachricht----- > Von: smilevasu6 [mailto:srinivas.thunga@gmail.com] > Gesendet: Dienstag, 9. Dezember 2014 10:58 > An: users@camel.apache.org > Betreff: camel - xsd >=20 > Hi, >=20 > How can we read the below xsd in java and camel >=20 > > xmlns:xs=3D"http://www.w3.org/2001/XMLSchema"> > > > > /> > > > > > > > > > > name=3D"COM_FUNCTIONAL_CURRENCY:BD_COM_FUNCTIONAL_CURRENCY" > type=3D"xs:string" > /> > type=3D"xs:string" /> > type=3D"xs:string" /> > type=3D"xs:string minOccurs=3D"0"" /> > minOccurs=3D"0"" /> > type=3D"xs:string" > /> > type=3D"xs:string" > minOccurs=3D"0" /> > type=3D"xs:string" > /> > type=3D"xs:string minOccurs=3D"0"" /> > type=3D"xs:string > minOccurs=3D"0"" /> > > > > > > > > > > > > > >=20 >=20 > Please advice >=20 >=20 >=20 > -- > View this message in context: http://camel.465427.n5.nabble.com/camel- > xsd-tp5760376.html > Sent from the Camel - Users mailing list archive at Nabble.com.