Ok, thanks a lot!
Bernd
> -Original Message-
> From: Michael Glavassevich [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 10, 2007 3:58 PM
> To: j-users@xerces.apache.org
> Subject: RE: Add schema to xmldocument
>
> "Bernd Kolb \([EMAIL PROTECTED])"
PROTECTED]
> > Sent: Wednesday, January 10, 2007 6:33 AM
> > To: j-users@xerces.apache.org
> > Subject: RE: Add schema to xmldocument
> >
> > "Bernd Kolb \([EMAIL PROTECTED])" <[EMAIL PROTECTED]> wrote on 01/09/2007
> > 09:58:08 AM:
> >
> >
ichael Glavassevich [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 10, 2007 6:33 AM
> To: j-users@xerces.apache.org
> Subject: RE: Add schema to xmldocument
>
> "Bernd Kolb \([EMAIL PROTECTED])" <[EMAIL PROTECTED]> wrote on 01/09/2007
> 09:58:08 AM:
>
validate(Unknown Source)
>at org.apache.xerces.jaxp.validation.ValidatorImpl.
> validate(Unknown Source)
>at javax.xml.validation.Validator.validate(Unknown Source)
>at XMLValidation.(XMLValidation.java:58)
>at XMLValidation.main(XMLValidation.java:23)
>
> To: j-users@xerces.apache.org
> Subject: RE: Add schema to xmldocument
>
> "Bernd Kolb \([EMAIL PROTECTED])" <[EMAIL PROTECTED]> wrote on 01/09/2007
> 09:17:22 AM:
>
> > Hm. I have noticed something strange.
> >
> > When I am running the code
"Bernd Kolb \([EMAIL PROTECTED])" <[EMAIL PROTECTED]> wrote on 01/09/2007
09:17:22 AM:
> Hm. I have noticed something strange.
>
> When I am running the code with Sun JDK 1.5_6 everything works nicely.
> When switching to JDK 1.4.2_13 I am getting this error.
>
> org.xml.sax.SAXParseException:
ich [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 09, 2007 3:21 PM
> To: j-users@xerces.apache.org
> Subject: RE: Add schema to xmldocument
>
> Each node in a DOM [1] carries its own namespace URI. Adding
> a namespace declaration to the tree has no effect on the
>
; Thanks again
>
> Regards
>
> Bernd Kolb
>
>
>
>
> > -Original Message-
> > From: Dick Deneer [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, January 09, 2007 8:19 AM
> > To: j-users@xerces.apache.org
> > Subject: Re: Add schema to xml
ould work, shouldn't
it
I am a bit confuesd
Best reagards
Bernd Kolb
> -Original Message-
> From: ddeneer [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 09, 2007 12:12 PM
> To: j-users@xerces.apache.org
> Subject: RE: Add schema to xmldocum
>
>> -Original Message-
>> From: Dick Deneer [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, January 09, 2007 8:19 AM
>> To: j-users@xerces.apache.org
>> Subject: Re: Add schema to xmldocument
>>
>>
>> Apparently your schema simple.xsd has a
gain
Regards
Bernd Kolb
> -Original Message-
> From: Dick Deneer [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 09, 2007 8:19 AM
> To: j-users@xerces.apache.org
> Subject: Re: Add schema to xmldocument
>
>
> Apparently your schema simple.xsd has a targetnamesp
Apparently your schema simple.xsd has a targetnamespace http://
sample.com.
Your test.xml has no namespace decaration, so it is in the "null"
namespace and has to be validated against a schema thas als has a
"null" targetnamespace.
Either you must remove the targetnamespace in your xsd or
Hi,
I have a question: I am using xerces 2.9.0.
I have a XML-Document witch was not created by me and
I am not able to load it from a file. I am getting
the XML-Document Object.
Now I want to validate this document against a schema.
This schema might not be in the document.
So I want to add the
13 matches
Mail list logo