docbook-tc — archive
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
— [Date Index]
| [Thread Index]
| [Month Index]
| [List Home]
Re: [docbook-tc] 5.0b1 test test release
MHonArc v2.5.0b2 -->docbook-tc message
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-tc] 5.0b1 test test release
- From: Jirka Kosek <[email protected]>
- To: Norman Walsh <[email protected]>
- Date: Tue, 25 Oct 2005 22:38:59 +0200
Norman Walsh wrote: > / Jirka Kosek <[email protected]> was heard to say: > | To test whether schema is correct, you can use -f switch of Xerces > | commandline interface. It will perform full schema checking which > | discloses UPA violations. > > As a variation on the LazyWeb :-) Very nice service ;-) >, what's there rest of the invocation > for Xerces schema processing? I've never figured it out... You must add xercesSamples.jar into your classpath, there is a simple sample class called sax.Counter that can be used as a handy CLI for Xerces: java -cp xercesImpl.jar;xercesSamples.jar sax.Counter -v -s -f doc.xml The only pity is that you can't specify schema name as a parameter, so there must be xsi:schemaLocation inside document pointing to schema. Jirka BTW: If you could smuggle in something like sax.Counter into JAXP 1.4 I wouldn't mind :-D It's a shame that in order to validate XML document on pure Java install you must write your own class or download standalone Xerces. -- ------------------------------------------------------------------ Jirka Kosek e-mail: [email protected] http://www.kosek.cz ------------------------------------------------------------------ Profesionální školení a poradenství v oblasti technologií XML. Podívejte se na náš nově spuštěný web http://DocBook.cz Podrobný přehled školení http://xmlguru.cz/skoleni/ ------------------------------------------------------------------ Nejbližší termíny školení: DocBook 5.-7.12. * XSL-FO 19.-20.12. XSLT 17.-20.10. * XML schémata (včetně RELAX NG) 7.-9.11. ------------------------------------------------------------------
S/MIME Cryptographic Signature
- Follow-Ups:
- Re: [docbook-tc] 5.0b1 test test release
- From: Norman Walsh <[email protected]>
- Re: [docbook-tc] 5.0b1 test test release
- References:
- 5.0b1 test test release
- From: Norman Walsh <[email protected]>
- Re: [docbook-tc] 5.0b1 test test release
- From: Jirka Kosek <[email protected]>
- Re: [docbook-tc] 5.0b1 test test release
- From: Norman Walsh <[email protected]>
- Re: [docbook-tc] 5.0b1 test test release
- From: Norman Walsh <[email protected]>
- Re: [docbook-tc] 5.0b1 test test release
- From: Jirka Kosek <[email protected]>
- Re: [docbook-tc] 5.0b1 test test release
- From: Norman Walsh <[email protected]>
- Re: [docbook-tc] 5.0b1 test test release
- From: Jirka Kosek <[email protected]>
- Re: [docbook-tc] 5.0b1 test test release
- From: Norman Walsh <[email protected]>
- 5.0b1 test test release
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
— [Date Index]
| [Thread Index]
| [Month Index]
| [List Home]