[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [ubl] Candidate approach for W3C Schema with wild cards for code list value validation
Hi Ken, On Thu, 11 Aug 2005 21:42:33 +0100, G. Ken Holman <gkholman@CraneSoftwrights.com> wrote: > I then created "maindoc\CL-Invoice-1.0.xsd" which allows anything > anywhere, but with lax validation, so that if any other declarations are > present, those are validated. That imports: Using the 'oXygen' editor, which uses the Xerces-J Schema validator, the following errors are reported for your Schema: ---- Location: 10:50 Description: E sch-props-correct.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of 'urn:oasis:names:specification:ubl:schema:xsd:CurrencyCode-1.0,CurrencyCodeContentType'. URL: http://www.w3.org/TR/xmlschema-1/#sch-props-correct Location: 1183:44 Description: E sch-props-correct.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of 'urn:oasis:names:specification:ubl:schema:xsd:CurrencyCode-1.0,CurrencyCodeType'. URL: http://www.w3.org/TR/xmlschema-1/#sch-props-correct Location: 16:21 Description: E s4s-elt-invalid-content.1: The content of '#AnonType_Invoice' is invalid. Element 'sequence' is invalid, misplaced, or occurs too often. Location: 1207:49 Description: E s4s-att-not-allowed: Attribute 'processContent' cannot appear in element 'anyAttribute'. ---- In terms of whether one should trust Xerces-J versus XSV, I believe the W3C Schema WG themselves currently consider Xerces to be the most correct Schema validator available. It is certainly the most widely used Java validator. Cheers, Tony. -- Anthony B. Coates London Market Systems Limited 33 Throgmorton Street, London, EC2N 2BR, UK http://www.londonmarketsystems.com/ mailto:abcoates@londonmarketsystems.com Mobile/Cell: +44 (79) 0543 9026 [MDDL Editor (Market Data Definition Language), http://www.mddl.org/] [FpML Arch WG Member (Financial Products Markup Language), http://www.fpml.org/] ----------------------------------------------------------------------- This Email may contain confidential information and/or copyright material and is intended for the use of the addressee only. Any unauthorised use may be unlawful. If you receive this Email by mistake please advise the sender immediately by using the reply facility in your e-mail software. Email is not a secure method of communication and London Market Systems Limited cannot accept responsibility for the accuracy or completeness of this message or any attachment(s). Please examine this email for virus infection, for which London Market Systems Limited accepts no responsibility. If verification of this email is sought then please request a hard copy. Unless otherwise stated any views or opinions presented are solely those of the author and do not represent those of London Market Systems Limited.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]