Hi Mukul, thanks a lot!
System.setProperty("javax.xml.validation.SchemaFactory:
> http://www.w3.org/XML/XMLSchema/v1.1";,
> "org.apache.xerces.jaxp.validation.XMLSchema11Factory");
> SchemaFactory sf =
> SchemaFactory.newInstance("http://www.w3.org/XML/XMLSchema/v1.1";);
>
These were the lines th
On Fri, Feb 19, 2010 at 9:38 PM, Michael Glavassevich
wrote:
>> 2. Use the jaxp.SourceValidator sample, with -xsd11 flag
>
> This isn't really a second method. It's just a sample demonstrating the
> first.
You're right, Michael :)
--
Regards,
Mukul Gandhi
-
Mukul Gandhi wrote on 02/19/2010 10:59:27 AM:
> Hi Felix,
>The XSD Schema example you've posted, works fine with the
> schema-dev XSD 1.1 SVN branch.
>
> It seems, you are invoking the Schema validation in XSD 1.0 mode.
> Please try to invoke the validation in 1.1 mode, and then you should
>
Hi Felix,
The XSD Schema example you've posted, works fine with the
schema-dev XSD 1.1 SVN branch.
It seems, you are invoking the Schema validation in XSD 1.0 mode.
Please try to invoke the validation in 1.1 mode, and then you should
get the expected results.
I'm aware of following two ways to
Hi Mukul,
I just found some time to compile the latest head revision from
xml-schema-1.1-dev and compiled it.
But it producues the identical error message as the standard jre-bundled
xerces:
org.xml.sax.SAXParseException: cos-all-limited.2: The {max occurs} of an
element in an 'all' model group m
A more long winded explanation of the validation api:
http://www.ibm.com/developerworks/xml/library/x-javaxmlvalidapi.html
Michael Glavassevich wrote:
If you want to try out the XML Schema 1.1 support it's accessible
through the JAXP Validation API. Instead of
"http://www.w
Mukul Gandhi wrote on 02/13/2010 03:33:29 AM:
> Here are the answers, to the questions you asked that I'm aware of:
>
> On Sat, Feb 13, 2010 at 12:50 PM, Olivier Rossel
> wrote:
> > - does substitutionGroup still require the newer definition to be a
> > valid derivation of the original group?
If you want to try out the XML Schema 1.1 support it's accessible through
the JAXP Validation API. Instead of "http://www.w3.org/2001/XMLSchema"; you
specify "http://www.w3.org/XML/XMLSchema/v1.1"; as the schema language.
For example:
SchemaFactory sf = SchemaFactory.ne
Here are the answers, to the questions you asked that I'm aware of:
On Sat, Feb 13, 2010 at 12:50 PM, Olivier Rossel
wrote:
> - does substitutionGroup still require the newer definition to be a
> valid derivation of the original group?
I don't think, this has changed. Please refer,
http://www.w
some questions about XSD 1.1:
- does substitutionGroup still require the newer definition to be a
valid derivation of the original group?
- is it possible to substitute a namespaced element for a
non-namespaced element? at the moment, in XSD 1.0, i could not mention
a non-namespaced element from
Hi Felix,
The upcoming Xerces-J release, 2.10.0 would have a preview
implementation of XML Schema 1.1 and that would have this support.
If you want, you may try compiling it from,
https://svn.apache.org/repos/asf/xerces/java/branches/xml-schema-1.1-dev/.
On Sat, Feb 13, 2010 at 4:03 AM, Felix
Hi folks,
I am looking for an XML validator that supports Schema 1.1 or to be more
precise just maxOccurs="unbounded" within elements.
As I am using xerces-j for quite a while now it would be my first choice.
Last week I checked out the head revision and compiled it but had no luck
with my schema
12 matches
Mail list logo