logo       

Related Msgs: audio.musicbrai...    enbd.general/20...    ietf.idr/2002-0...    java.ant-contri...    gnu.make.genera...    qplus.devel/200...    video.freevo.cv...    os.netbsd.ports...    yellowdog.gener...    xfree86.cvs/200...    search.nutch.us...    freedesktop.xse...    programming.swi...    capabilities.ge...    telephony.pbx.a...    mail.sylpheed.c...    db.firebase.por...    boot-loaders.u-...    recreation.radi...    netbsd.bugs/200...    web.zope.plone....    user-groups.lin...   

Re: [XML Schema] Identically named elements of different type: msg#00088

Subject: Re: [XML Schema] Identically named elements of different type
Hi George,

/George Cristian Bina/:

Check your Xerces version, 2.6.2 reports the following error:

Error: cos-element-consistent: Error for type '#AnonType_rowcsv'. Multiple elements with name 'col', with different types, appear in the model group.

Confusing indeed - I'm using version 2.6.2 and it did't happen at my side, until I've set the "http://apache.org/xml/features/validation/schema-full-checking"; feature to 'true' (which is 'false' by default). Strangely enough, without enabling the "schema-full-checking" feature it works as I would want it to - (in the example I've given) it correctly checks if the first "col" element has content type of 'token', the second "col" element - content type of 'date' and the third - 'integer'.

--
Stanimir



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo