OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: Validating UBL examples with xmllint


At 2004-05-20 12:01 +0100, Pedro Alves wrote:
>     I was trying to validate the examples in the documentation with
>xmllint, part of libxml.
>...
>     Isn't this supposed to work?

Yes.

>I get tons of errors in the output

Not sure why ... here is what I get using Sun's Multi-Schema Validator:

W:\>java -jar p:\xml\xml\sun-msv\msvcurr\msv.jar 
u:\cd-UBL-1.0\xsd\maindoc\UBL-Order-1.0.xsd 
u:\cd-UBL-1.0\xml\office\UBL-Order-1.0-Office-Example.xml
start parsing a grammar.
validating u:\cd-UBL-1.0\xml\office\UBL-Order-1.0-Office-Example.xml
the document is valid.

W:\>

Seems okay to me ... my guess is xmllint has some problems, though I've 
never had experience using it.

I hope this helps as it shows there are no problems validating the given 
example with the given schema.

..................... Ken


--
North America (Washington, DC): 3-day XSLT/2-day XSL-FO 2004-03-15
-          (San Francisco, CA): 3-day XSLT/2-day XSL-FO 2004-03-22
Asia        (Hong Kong, China): 3-day XSLT/2-day XSL-FO 2004-05-17
Europe       (Bremen, Germany): 3-day XSLT/2-day XSL-FO 2004-05-24
Instructor-led on-site corporate, government & user group training
for XSLT and XSL-FO world-wide:  please contact us for the details

G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/u/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/u/bc



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]