[hibernate-dev] Namespaces for DOM4J Entity Mode
Stephen Wolke
smwolke at geistig.com
Thu Aug 17 10:37:48 EDT 2006
-------- Original Message --------
> From: "Max Rydahl Andersen" <max.andersen at jboss.com>
> Sent: Thursday, August 17, 2006 8:37 AM
> To: smwolke at geistig.com, hibernate-dev at lists.jboss.org
> Subject: Re: [hibernate-dev] Namespaces for DOM4J Entity Mode
>
> On Thu, 17 Aug 2006 05:55:14 +0200, Stephen Wolke <smwolke at geistig.com>
> wrote:
>
> > Attached is a diff file with the changes against the latest trunk. I
> > also had to modify the new build script, did not include that diff, so
> > that the mapping dtd file was jar'd up and validation was done with the
> > file in jar because that is where the new namespace attribute is
> > defined. This use to happen with the old build script but does not
> > happen anymore. Is that intended???
>
> I don't see that happen.
My responses are based on the assumption we are talking about the build.xml file.
>
> Comparing the old output and the new and they are 100% identical.
Starting with revision 10269 of the build.xml
- <patternset id="jar.files">
- <include name="**/*.dtd"/>
- <include name="**/*.xml"/>
- <include name="**/*.xslt"/>
- </patternset>
<jar jarfile="${jar.path}" basedir="${classes.dir}">
<include name="org/hibernate/**/*.class"/>
- <patternset refid="jar.files"/>
......
....
</jar>
The patternset tags for the dtd files have been removed from the build file. Without the patternset tags the mapping dtd file is not included in the jar file and I would assume then that validation occurs with the dtd at :http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd instead of the one in the jar file.
>
> What did you have to change to make it "work" ?
> /max
>
> >
> > -------- Original Message --------
> >> From: "Stephen Wolke" <smwolke at geistig.com>
> >> Sent: Wednesday, August 16, 2006 10:37 PM
> >> To: hibernate-dev at lists.jboss.org
> >> Subject: RE: [hibernate-dev] Namespaces for DOM4J Entity Mode
> >>
> >> In trying to get the diff files I discovered that the revision number
> >> of the trunk that I made my changes on were on 9920 and the current
> >> code is on revision 10273 so now I am in the process of migrating the
> >> changes to the newer code base. How things have changed since 9920. I
> >> will get back with the changes when I am done.
> >>
> >> Steve
> >>
> >> -------- Original Message --------
> >> > From: "Stephen Wolke" <smwolke at geistig.com>
> >> > Sent: Wednesday, August 16, 2006 10:06 PM
> >> > To: steve.ebersole at jboss.com
> >> > Subject: RE: [hibernate-dev] Namespaces for DOM4J Entity Mode
> >> >
> >> > Sorry the server was unaccessible from 8:00 am to about 7:00:pm today
> >> but the file should be accessible now. I am in the process of making
> >> diff files for the files changed and will send them as an attachment if
> >> the jboss mailing list will accept them. When the mailing list was on
> >> sourceforge my message was bounced because of an attachment.
> >> >
> >> > -------- Original Message --------
> >> > > From: "Steve Ebersole" <steve.ebersole at jboss.com>
> >> > > Sent: Wednesday, August 16, 2006 7:59 PM
> >> > > To: smwolke at geistig.com
> >> > > Subject: RE: [hibernate-dev] Namespaces for DOM4J Entity Mode
> >> > >
> >> > > FYI, tried to access the zip, but the server does not seem to exist.
> >> > >
> >> > > -----Original Message-----
> >> > > From: hibernate-dev-bounces at lists.jboss.org
> >> > > [mailto:hibernate-dev-bounces at lists.jboss.org] On Behalf Of Stephen
> >> > > Wolke
> >> > > Sent: Monday, August 14, 2006 8:57 PM
> >> > > To: hibernate-dev at lists.jboss.org
> >> > > Subject: [hibernate-dev] Namespaces for DOM4J Entity Mode
> >> > >
> >> > > All,
> >> > >
> >> > > Just wanting to make available some changes that allow for creating
> >> XML
> >> > > instances with namespaces for the DOM4j Entity mode. The namespace
> >> is
> >> > > specified in the mapping file for element nodes and does not
> >> currently
> >> > > support the property tag. Actually, I have only verified the
> >> > > class,set,many-to-one,one-to-many tags. If this feature is welcome I
> >> > > would be happy to work on debugging and making changes to get it
> >> merged
> >> > > into the code base. I just need some direction, otherwise I will
> >> keep
> >> > > moving along.
> >> > >
> >> > > The code changes are at since the message seems to get bounced with
> >> an
> >> > > attachement:
> >> > >
> >> > > http://www.geistig.com/java/hibernate-namespace-updates.zip
> >> > >
> >> > > Steve
> >> > >
> >> > >
> >> > >
> >> > > _______________________________________________
> >> > > hibernate-dev mailing list
> >> > > hibernate-dev at lists.jboss.org
> >> > > https://lists.jboss.org/mailman/listinfo/hibernate-dev
> >> >
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > hibernate-dev mailing list
> >> > hibernate-dev at lists.jboss.org
> >> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> hibernate-dev mailing list
> >> hibernate-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/hibernate-dev
> >
>
>
>
> --
> --
> Max Rydahl Andersen
> callto://max.rydahl.andersen
>
> Hibernate
> max at hibernate.org
> http://hibernate.org
>
> JBoss a division of Red Hat
> max.andersen at jboss.com
More information about the hibernate-dev
mailing list