osdir.com
mailing list archive

Subject: Fwd: Validation and schema check conflict - msg#00025

List: text.xml.xerces-c.user

Date: Prev Next Index Thread: Prev Next Index
Raul, All:

Thank you for our reply.

Yes the API used by me is C++。

Does "The only thing I can think about is that when checking it normaliziing
the DOM." means the API invocation should be in a specified sequence? How
should I do? If the source code should be modified to fix it, what should i
do?



2008/8/8 Raul Benito <raul@xxxxxxxxxx>

The only thing I can think about is that when checking it normaliziing the
> DOM.
> But you are using C++ api arent't you?
>
> Regards,
> Raul
>
> On Thu, Aug 7, 2008 at 6:12 AM, Anri Lau <anriliu@xxxxxxxxx> wrote:
> > Hi all
> >
> > I have two requirement for XML validation: the schema check and digital
> > signature validation.
> > At first, only the signature validation is validated using libraries
> > security-xml and xerces-c both. And xml pass the verify();
> >
> > Later I add the schema check for xml, now only the verifySignatureOnly()
> > pass but verify() did not passed!
> >
> > Is there conflict between the schema check and signature validation? How
> > should i perform both check, using xerces-c and security-xml?
> >
> > Anyone can give me an advice?
> >
> > --
> > Best regards to you and your family
> >
>



--
Best regards to you and your family
Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Identify the XML declaration

Hi, How can one identify the tag that starts off the xml document? I know the root node can be found using doc->getDocumentElement I know you can find the docType definition by iterating through searching for a node that matches DOMDocumentType::DOCUMENT_TYPE_NODE but how do i find the xml document <!xml version="1.0"...> node? better yet where is it in the documentation? Regards

Next Message by Date: click to view message preview

[Win32] "The primary document entity could not be opened."

1. I have a C++ application that targets both Linux/Unix and Win32. I'm using Xerces 2.7.0 in both Opensuse 10.3 and the Win32 environment. 2. I am setting XMLUni::fgXercesSchemaExternalSchemaLocation prior to parsing XML to allow the parser to locate a schema definition. The value passed to setProperty() is: "http://www.smpte-ra.org/schemas/2032-2/2007/MDP file:c:\tmp\mdp.xsd" This works correctly in the Linux build. It fails at parse time in the Win32 build with the following warning: > The primary document entity could not be opened. Id=file:c:\tmp\mdp.xsd 3. Logging in the application tells me that the file in question c:\tmp\mdp.xsd does indeed exist and is readable. Can anyone suggest why this code is failing under Windows, but fine under Linux ? -- Regards Steve Collyer Netspinner Ltd

Previous Message by Thread: click to view message preview

Fwd: Validation and schema check conflict

Hi all I have two requirement for XML validation: the schema check and digital signature validation. At first, only the signature validation is validated using libraries security-xml and xerces-c both. And xml pass the verify(); Later I add the schema check for xml, now only the verifySignatureOnly() pass but verify() did not passed! Is there conflict between the schema check and signature validation? How should i perform both check, using xerces-c and security-xml? Anyone can give me an advice? -- Best regards to you and your family

Next Message by Thread: click to view message preview

Re: Validation and schema check conflict

Hi All Does the classes DOMConfiguration and DOMNormalizer relate with the following issue? Anyone can give me an advice, pls? Thank you! 2008/8/7 Anri Lau <anriliu@xxxxxxxxx> > Hi all > > I have two requirement for XML validation: the schema check and digital > signature validation. > At first, only the signature validation is validated using libraries > security-xml and xerces-c both. And xml pass the verify(); > > Later I add the schema check for xml, now only the verifySignatureOnly() > pass but verify() did not passed! > > Is there conflict between the schema check and signature validation? How > should i perform both check, using xerces-c and security-xml? > > Anyone can give me an advice? > > -- > Best regards to you and your family > -- Best regards to you and your family
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by