You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by Ted Leung <tw...@sauria.com> on 2001/08/16 19:25:46 UTC
[xml-security] Re: Canonical XML
Ok,
my apologies for not being quick and up to date on this.
So far I see 3 pmc +1's, one +0 and no -1';s. That seems like
enough to get this project going on. Unless someone in general
objects by Friday, we'll get started on creating an xml-security
project.
Ted
----- Original Message -----
From: <Sc...@lotus.com>
To: <ge...@xml.apache.org>
Cc: <pm...@xml.apache.org>
Sent: Wednesday, August 01, 2001 7:10 AM
Subject: Re: Canonical XML
>
> > So it could be interesting to use some package
> > namespace like org.apache.security or org.apache.xml.security for things
> > like this.
>
> I would be very enthusiastic about a full xml-security project.
>
> -scott
>
>
>
>
>
> Christian Geuer-Pollmann
> <geuer-pollmann@nue.et-inf.uni- To: Ted
Leung <tw...@sauria.com>, general@xml.apache.org
> siegen.de> cc:
pmc@xml.apache.org, (bcc: Scott Boag/CAM/Lotus)
> Subject:
Re: Canonical XML
> 07/31/2001 02:15 PM
> Please respond to general
>
>
>
>
>
>
> Hi Ted,
>
> --On Dienstag, 31. Juli 2001 11:07 -0700 Ted Leung <tw...@sauria.com>
> wrote:
>
> > [I'm redirecting this again to general, since this is a proposal for a
> > code contribution and possibly a project creation]
> > I personally would be interested in seeing this happen. Your initial
> note
> > in general indicated that you thought that Xalan would be the best
place
>
> for
> > this.
> > I'd like to see some discussion of where the best home is for this
> > implementation.
> > Should this get folded into Xerces or Xalan or commons, or should we
> > create a new subproject
>
> Well, I'm not sure what's the best place for something like this. With
> "Canonical XML", "XML Signature" and "XML Encryption", we have three
> standards that are related to XML and Security/Cryptography. This means
> that they _use_ Xalan and Xerces, but the do not extend them. For
instance,
>
> my "Canonical XML" makes heavy use of the org.apache.xpath package, but it
> does not extend it... So it could be interesting to use some package
> namespace like org.apache.security or org.apache.xml.security for things
> like this.
>
>
> > ----- Original Message -----
> > From: "Christian Geuer-Pollmann"
> <ge...@nue.et-inf.uni-siegen.de>
> > Subject: Canonical XML
> >
> >> I've written a complete implementation of Canonical XML [1] and I'm
> > working
> >> on an implementation of XML Signature [2]. My canonicalizer [3] is
based
> > on
> >> Apache Xerces and Xalan2, written in JAVA and performs all tests from
> the
> >> spec [1]. The software includes JUnit tests to ensure functionality and
> > has
> >> some small sample programs to see how it works.
> >>
> >> Is there any interest by the Apache XML Group to incorporate this
> >> software into e.g. an org.apache.security package?
> >>
> >> Would be nice to hear from you,
> >> Best regards, Christian
> >>
> >> [1] http://www.w3.org/TR/2001/REC-xml-c14n-20010315
> >> [2] http://www.w3.org/TR/xmldsig-core/
> >> [3] http://www.xmlsecurity.org/
> >>
> >> PS: I asked general@xml.apache.org, but there was no response from the
> >> list....
>
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail: webmaster@xml.apache.org
> To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
>
>
>
>
>
---------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org
Re: Losing Internal Subset When Cloning
Posted by Sriram Rao <sr...@informix.com>.
Thanks Elena, but the I don't see set methods in the DocumentType
interface. Also, the 'value' property of a DocumentType node is null.
Is there a way to set the internal subset for a DOCUMENT_TYPE_NODE?
Thanks Again,
Sriram
At 04:40 PM 8/16/01 -0400, you wrote:
>Sriram,
>
> > When deep cloning a DOCUMENT_NODE (of a DOM created using Xerces parser), I
> > loose the 'internal subset' property of its DOCUMENT_TYPE_NODE child. That
> > is, docType.getInternalSubset() (where docType is of type
> > DOCUMENT_TYPE_NODE) returns null. This method however returns the correct
> > internal subset for the DOCUMENT_TYPE_NODE child of the DOCUMENT_NODE
> > (created by parsing XML document into a DOM) from which the clone was
> created.
> >
> > Any idea why this is happening? Any work-arounds?
>
>DOM L2 Core specifies for "cloneNode" that "cloning Document,
>DocumentType, Entity, and Notation nodes is implementation dependent".
>In our implementation we choose not to clone internalSubset.
>The easiest work-around is get it and set it yourself on the cloned
>node.
>
>Elena
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
>For additional commands, e-mail: xerces-j-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
Re: Losing Internal Subset When Cloning
Posted by Elena Litani <el...@ca.ibm.com>.
Sriram,
> When deep cloning a DOCUMENT_NODE (of a DOM created using Xerces parser), I
> loose the 'internal subset' property of its DOCUMENT_TYPE_NODE child. That
> is, docType.getInternalSubset() (where docType is of type
> DOCUMENT_TYPE_NODE) returns null. This method however returns the correct
> internal subset for the DOCUMENT_TYPE_NODE child of the DOCUMENT_NODE
> (created by parsing XML document into a DOM) from which the clone was created.
>
> Any idea why this is happening? Any work-arounds?
DOM L2 Core specifies for "cloneNode" that "cloning Document,
DocumentType, Entity, and Notation nodes is implementation dependent".
In our implementation we choose not to clone internalSubset.
The easiest work-around is get it and set it yourself on the cloned
node.
Elena
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
Losing Internal Subset When Cloning
Posted by Sriram Rao <sr...@informix.com>.
Hi,
When deep cloning a DOCUMENT_NODE (of a DOM created using Xerces parser), I
loose the 'internal subset' property of its DOCUMENT_TYPE_NODE child. That
is, docType.getInternalSubset() (where docType is of type
DOCUMENT_TYPE_NODE) returns null. This method however returns the correct
internal subset for the DOCUMENT_TYPE_NODE child of the DOCUMENT_NODE
(created by parsing XML document into a DOM) from which the clone was created.
Any idea why this is happening? Any work-arounds?
This may not be the correct alias to talk about the Crimson parser (anyone
aware of the correct alias?). However, when using the Crimson parser, deep
clone of the DOCUMENT_NODE completely looses its DOCUMENT_TYPE_NODE child.
Also, the internal subset is not set for the DOCUMENT_TYPE_NODE child of
the DOCUMENT_NODE originally created by parsing an XML document.
I would appreciate any help in resolving these issues with Xerces and
Crimson parsers.
Thanks,
Sriram
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
Losing Internal Subset When Cloning
Posted by Sriram Rao <sr...@informix.com>.
Hi,
When deep cloning a DOCUMENT_NODE (of a DOM created using Xerces parser), I
loose the 'internal subset' property of its DOCUMENT_TYPE_NODE child. That
is, docType.getInternalSubset() (where docType is of type
DOCUMENT_TYPE_NODE) returns null. This method however returns the correct
internal subset for the DOCUMENT_TYPE_NODE child of the DOCUMENT_NODE
(created by parsing XML document into a DOM) from which the clone was created.
Any idea why this is happening? Any work-arounds?
This may not be the correct alias to talk about the Crimson parser (anyone
aware of the correct alias?). However, when using the Crimson parser, deep
clone of the DOCUMENT_NODE completely looses its DOCUMENT_TYPE_NODE child.
Also, the internal subset is not set for the DOCUMENT_TYPE_NODE child of
the DOCUMENT_NODE originally created by parsing an XML document.
I would appreciate any help in resolving these issues with Xerces and
Crimson parsers.
Thanks,
Sriram
---------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org