Re: preserving whitespace for xsd:anySimpleType

2008-03-10 Thread Michael Glavassevich
Hi Mark, xs:anySimpleType doesn't have any facets (not even whiteSpace) so this sounds like there may have been a bug in the 2.7.1 release. You should be able to work around it by setting the "http://apache.org/xml/features/validation/schema/normalized-value"; [1] feature to false. Thanks. [1] h

Re: [Resolved] How To Configure a Schema Validating Parser for Use With JAXP

2008-03-10 Thread Eliot Kimber
This class seems to do what I want given that I can't do what I want from the command line. But this seems like it would be a really common combination, namely schema validation and catalog resolution but I couldn't find an example of this combination anywhere. It would make really useful conv

Re: How To Configure a Schema Validating Parser for Use With JAXP

2008-03-10 Thread Eliot Kimber
[EMAIL PROTECTED] wrote: >Hmm. I can see the point about properties affecting everything running >under a single JVM in an app server but it still seems like there ought >to be a convenient way to do this from the command line where the JVM >instance is of course only going to apply to the on

Re: How To Configure a Schema Validating Parser for Use With JAXP

2008-03-10 Thread keshlam
>Hmm. I can see the point about properties affecting everything running >under a single JVM in an app server but it still seems like there ought >to be a convenient way to do this from the command line where the JVM >instance is of course only going to apply to the one process being run. If you're

Re: How To Configure a Schema Validating Parser for Use With JAXP

2008-03-10 Thread Eliot Kimber
Michael Glavassevich wrote: So my questions are: 1. Is there a way to configure Xerces to do schema validation for JAXP-based parser users from the command line? There isn't and in general there's no way to accomplish that with Xerces other features. 2. If not, why not? No one asked for it

Re: How To Configure a Schema Validating Parser for Use With JAXP

2008-03-10 Thread Michael Glavassevich
Hi Eliot, Eliot Kimber <[EMAIL PROTECTED]> wrote on 03/10/2008 03:46:12 PM: > I need to process schema-based documents with Saxon where the documents > need to have default attribute values that are only in the schema (these > happen to be DITA documents where the processing depends on the values

How To Configure a Schema Validating Parser for Use With JAXP

2008-03-10 Thread Eliot Kimber
I need to process schema-based documents with Saxon where the documents need to have default attribute values that are only in the schema (these happen to be DITA documents where the processing depends on the values of the common class= attribute which normally never exists in instances). I'm

Re: Fwd: command line

2008-03-10 Thread Abbhishek Misra
oo my machine has two jvm Thanks dear. abhishek@:xerces-2_7_1$ java -version java version "1.4.2" gij (GNU libgcj) version 4.1.2 (Ubuntu 4.1.2-0ubuntu5) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even

Re: Fwd: command line

2008-03-10 Thread Prashant Reddy
Hi Abbhishek, >From the stacktrace it looks like GCJ is getting picked up. I am not sure this was your intention. The exception also indicates that the JVM you are using (GCJ) is not capable of running the class file that was compiled using another version of Java. You could try : Giving compl

Fwd: command line

2008-03-10 Thread Abbhishek Misra
Hello, I'm new to Xerces and have some background in Java. I'm having problem running the command line samples abhishek@:xerces-2_7_1$ java dom.Counter -s -f -v %1 Exception in thread "main" java.lang.ClassFormatError: dom.Counter (unrecognized class file version) at java.lang.VMClassLo