EXPath package format

Monday, 11 May 2015 · 8 messages · last reply 12 May 2015
AB
Andy Bunce11 May 2015 15:42 #
Hi, It appears the EXPath package format has changed. The current version of the spec reads: the root of the ZIP file contains a directory named *content*, containing the components and any other file the package needs. http://expath.org/spec/pkg#descriptor A previous version http://expath.org/spec/pkg/20100107#d2e112 reads Alongside this descriptor, the root of the ZIP file contains a directory *named after the module name* (see below) which contains the components and any other file the package needs. BaseX appears only to support this earlier version. If a package using a *content* folder is installed the following error is reported: [bxerr:BXRE0004] Package descriptor: Invalid attribute 'name' /Andy
CG
Christian Grün12 May 2015 09:30 #
Hi Andy, Thanks for the hint. I will browse through the current and the older version of the spec in order to find out what else has changed. Christian
Quoted text · Andy Bunce · 23 lines
On Mon, May 11, 2015 at 3:42 PM, Andy Bunce <bunce.andy at gmail.com> wrote: > Hi, > > It appears the EXPath package format has changed. The current version of the > spec reads: > > the root of the ZIP file contains a directory named content, containing the > components and any other file the package needs. > > http://expath.org/spec/pkg#descriptor > > A previous version http://expath.org/spec/pkg/20100107#d2e112 reads > > Alongside this descriptor, the root of the ZIP file contains a directory > named after the module name (see below) which contains the components and > any other file the package needs. > > BaseX appears only to support this earlier version. If a package using a > content folder is installed the following error is reported: > > [bxerr:BXRE0004] Package descriptor: Invalid attribute 'name' > > /Andy
FG
Florent Georges12 May 2015 09:51 #
Hi, That's correct Andy, that has changed some time ago, based on some feedback. For what it's worth, in the implementation for Saxon and Calabash, I support both for a transitional period (if 'content' is there, that's the new model, if a dir with the package name exists, then that's the old format and I issue a warning but keep going, else it is a format error). Regards,
Quoted text · Christian Grün · 33 lines
On 12 May 2015 at 09:30, Christian Grün wrote: > Hi Andy, > > Thanks for the hint. I will browse through the current and the older > version of the spec in order to find out what else has changed. > > Christian > > > > On Mon, May 11, 2015 at 3:42 PM, Andy Bunce <bunce.andy at gmail.com> wrote: >> Hi, >> >> It appears the EXPath package format has changed. The current version of the >> spec reads: >> >> the root of the ZIP file contains a directory named content, containing the >> components and any other file the package needs. >> >> http://expath.org/spec/pkg#descriptor >> >> A previous version http://expath.org/spec/pkg/20100107#d2e112 reads >> >> Alongside this descriptor, the root of the ZIP file contains a directory >> named after the module name (see below) which contains the components and >> any other file the package needs. >> >> BaseX appears only to support this earlier version. If a package using a >> content folder is installed the following error is reported: >> >> [bxerr:BXRE0004] Package descriptor: Invalid attribute 'name' >> >> /Andy
CG
Christian Grün12 May 2015 09:52 #
Hi Florent, Thanks for your comment. Do you plan to publish a diff version of the two specs? Christian
Quoted text · Florent Georges · 52 lines
On Tue, May 12, 2015 at 9:51 AM, Florent Georges <fgeorges at fgeorges.org> wrote: > Hi, > > That's correct Andy, that has changed some time ago, based on some feedback. > > For what it's worth, in the implementation for Saxon and Calabash, I > support both for a transitional period (if 'content' is there, that's > the new model, if a dir with the package name exists, then that's the > old format and I issue a warning but keep going, else it is a format > error). > > Regards, > > -- > Florent Georges > http://fgeorges.org/ > http://h2oconsulting.be/ > > > On 12 May 2015 at 09:30, Christian Grün wrote: >> Hi Andy, >> >> Thanks for the hint. I will browse through the current and the older >> version of the spec in order to find out what else has changed. >> >> Christian >> >> >> >> On Mon, May 11, 2015 at 3:42 PM, Andy Bunce <bunce.andy at gmail.com> wrote: >>> Hi, >>> >>> It appears the EXPath package format has changed. The current version of the >>> spec reads: >>> >>> the root of the ZIP file contains a directory named content, containing the >>> components and any other file the package needs. >>> >>> http://expath.org/spec/pkg#descriptor >>> >>> A previous version http://expath.org/spec/pkg/20100107#d2e112 reads >>> >>> Alongside this descriptor, the root of the ZIP file contains a directory >>> named after the module name (see below) which contains the components and >>> any other file the package needs. >>> >>> BaseX appears only to support this earlier version. If a package using a >>> content folder is installed the following error is reported: >>> >>> [bxerr:BXRE0004] Package descriptor: Invalid attribute 'name' >>> >>> /Andy
FG
Florent Georges12 May 2015 10:09 #
Not between 2 versions not next to each other (20120509 and 20100107). But it happens that the change occurred between the latest (20120509) and the directly previous one (20101111). So you can follow the link "Revision markup", which is the diff version from an edition against the previous one: http://expath.org/spec/pkg/20120509/diff. Basically, in addition to the change with the content dir Andy reported, there are the following changes in that edition: - new DTD and resource components - dependency to a specific processor uses a URI - new section on URI resolution Regards,
Quoted text · Christian Grün · 61 lines
On 12 May 2015 at 09:52, Christian Grün wrote: > Hi Florent, > > Thanks for your comment. Do you plan to publish a diff version of the two specs? > > Christian > > > > On Tue, May 12, 2015 at 9:51 AM, Florent Georges <fgeorges at fgeorges.org> wrote: >> Hi, >> >> That's correct Andy, that has changed some time ago, based on some feedback. >> >> For what it's worth, in the implementation for Saxon and Calabash, I >> support both for a transitional period (if 'content' is there, that's >> the new model, if a dir with the package name exists, then that's the >> old format and I issue a warning but keep going, else it is a format >> error). >> >> Regards, >> >> -- >> Florent Georges >> http://fgeorges.org/ >> http://h2oconsulting.be/ >> >> >> On 12 May 2015 at 09:30, Christian Grün wrote: >>> Hi Andy, >>> >>> Thanks for the hint. I will browse through the current and the older >>> version of the spec in order to find out what else has changed. >>> >>> Christian >>> >>> >>> >>> On Mon, May 11, 2015 at 3:42 PM, Andy Bunce <bunce.andy at gmail.com> wrote: >>>> Hi, >>>> >>>> It appears the EXPath package format has changed. The current version of the >>>> spec reads: >>>> >>>> the root of the ZIP file contains a directory named content, containing the >>>> components and any other file the package needs. >>>> >>>> http://expath.org/spec/pkg#descriptor >>>> >>>> A previous version http://expath.org/spec/pkg/20100107#d2e112 reads >>>> >>>> Alongside this descriptor, the root of the ZIP file contains a directory >>>> named after the module name (see below) which contains the components and >>>> any other file the package needs. >>>> >>>> BaseX appears only to support this earlier version. If a package using a >>>> content folder is installed the following error is reported: >>>> >>>> [bxerr:BXRE0004] Package descriptor: Invalid attribute 'name' >>>> >>>> /Andy
CG
Christian Grün12 May 2015 10:46 #
Quoted text · Florent Georges · 3 lines
> Not between 2 versions not next to each other (20120509 and > 20100107). But it happens that the change occurred between the latest > (20120509) and the directly previous one (20101111).
Fine! I have updated the snapshot [1]; both 'content' and the abbrev directory will now be detected. Christian [1] http://files.basex.org/releases/latest/
Quoted text · Florent Georges · 81 lines
> So you can > follow the link "Revision markup", which is the diff version from an > edition against the previous one: > http://expath.org/spec/pkg/20120509/diff. > > Basically, in addition to the change with the content dir Andy > reported, there are the following changes in that edition: > > - new DTD and resource components > - dependency to a specific processor uses a URI > - new section on URI resolution > > Regards, > > -- > Florent Georges > http://fgeorges.org/ > http://h2oconsulting.be/ > > > On 12 May 2015 at 09:52, Christian Grün wrote: >> Hi Florent, >> >> Thanks for your comment. Do you plan to publish a diff version of the two specs? >> >> Christian >> >> >> >> On Tue, May 12, 2015 at 9:51 AM, Florent Georges <fgeorges at fgeorges.org> wrote: >>> Hi, >>> >>> That's correct Andy, that has changed some time ago, based on some feedback. >>> >>> For what it's worth, in the implementation for Saxon and Calabash, I >>> support both for a transitional period (if 'content' is there, that's >>> the new model, if a dir with the package name exists, then that's the >>> old format and I issue a warning but keep going, else it is a format >>> error). >>> >>> Regards, >>> >>> -- >>> Florent Georges >>> http://fgeorges.org/ >>> http://h2oconsulting.be/ >>> >>> >>> On 12 May 2015 at 09:30, Christian Grün wrote: >>>> Hi Andy, >>>> >>>> Thanks for the hint. I will browse through the current and the older >>>> version of the spec in order to find out what else has changed. >>>> >>>> Christian >>>> >>>> >>>> >>>> On Mon, May 11, 2015 at 3:42 PM, Andy Bunce <bunce.andy at gmail.com> wrote: >>>>> Hi, >>>>> >>>>> It appears the EXPath package format has changed. The current version of the >>>>> spec reads: >>>>> >>>>> the root of the ZIP file contains a directory named content, containing the >>>>> components and any other file the package needs. >>>>> >>>>> http://expath.org/spec/pkg#descriptor >>>>> >>>>> A previous version http://expath.org/spec/pkg/20100107#d2e112 reads >>>>> >>>>> Alongside this descriptor, the root of the ZIP file contains a directory >>>>> named after the module name (see below) which contains the components and >>>>> any other file the package needs. >>>>> >>>>> BaseX appears only to support this earlier version. If a package using a >>>>> content folder is installed the following error is reported: >>>>> >>>>> [bxerr:BXRE0004] Package descriptor: Invalid attribute 'name' >>>>> >>>>> /Andy
FG
Florent Georges12 May 2015 11:04 #
38 minutes between the email with the links, and a new build being publicly released on the website. BaseX and Saxon are the 2 most incredibly reactive companies to solve stuff! (and BaseX always makes them available on a public snapshot!)
Quoted text · Christian Grün · 95 lines
On 12 May 2015 at 10:46, Christian Grün wrote: >> Not between 2 versions not next to each other (20120509 and >> 20100107). But it happens that the change occurred between the latest >> (20120509) and the directly previous one (20101111). > > Fine! > > I have updated the snapshot [1]; both 'content' and the abbrev > directory will now be detected. > Christian > > [1] http://files.basex.org/releases/latest/ > > >> So you can >> follow the link "Revision markup", which is the diff version from an >> edition against the previous one: >> http://expath.org/spec/pkg/20120509/diff. >> >> Basically, in addition to the change with the content dir Andy >> reported, there are the following changes in that edition: >> >> - new DTD and resource components >> - dependency to a specific processor uses a URI >> - new section on URI resolution >> >> Regards, >> >> -- >> Florent Georges >> http://fgeorges.org/ >> http://h2oconsulting.be/ >> >> >> On 12 May 2015 at 09:52, Christian Grün wrote: >>> Hi Florent, >>> >>> Thanks for your comment. Do you plan to publish a diff version of the two specs? >>> >>> Christian >>> >>> >>> >>> On Tue, May 12, 2015 at 9:51 AM, Florent Georges <fgeorges at fgeorges.org> wrote: >>>> Hi, >>>> >>>> That's correct Andy, that has changed some time ago, based on some feedback. >>>> >>>> For what it's worth, in the implementation for Saxon and Calabash, I >>>> support both for a transitional period (if 'content' is there, that's >>>> the new model, if a dir with the package name exists, then that's the >>>> old format and I issue a warning but keep going, else it is a format >>>> error). >>>> >>>> Regards, >>>> >>>> -- >>>> Florent Georges >>>> http://fgeorges.org/ >>>> http://h2oconsulting.be/ >>>> >>>> >>>> On 12 May 2015 at 09:30, Christian Grün wrote: >>>>> Hi Andy, >>>>> >>>>> Thanks for the hint. I will browse through the current and the older >>>>> version of the spec in order to find out what else has changed. >>>>> >>>>> Christian >>>>> >>>>> >>>>> >>>>> On Mon, May 11, 2015 at 3:42 PM, Andy Bunce <bunce.andy at gmail.com> wrote: >>>>>> Hi, >>>>>> >>>>>> It appears the EXPath package format has changed. The current version of the >>>>>> spec reads: >>>>>> >>>>>> the root of the ZIP file contains a directory named content, containing the >>>>>> components and any other file the package needs. >>>>>> >>>>>> http://expath.org/spec/pkg#descriptor >>>>>> >>>>>> A previous version http://expath.org/spec/pkg/20100107#d2e112 reads >>>>>> >>>>>> Alongside this descriptor, the root of the ZIP file contains a directory >>>>>> named after the module name (see below) which contains the components and >>>>>> any other file the package needs. >>>>>> >>>>>> BaseX appears only to support this earlier version. If a package using a >>>>>> content folder is installed the following error is reported: >>>>>> >>>>>> [bxerr:BXRE0004] Package descriptor: Invalid attribute 'name' >>>>>> >>>>>> /Andy
CG
Christian Grün12 May 2015 11:05 #
…you are welcome ;) thanks.
Quoted text · Florent Georges · 107 lines
On Tue, May 12, 2015 at 11:04 AM, Florent Georges <fgeorges at fgeorges.org> wrote: > 38 minutes between the email with the links, and a new build being > publicly released on the website. BaseX and Saxon are the 2 most > incredibly reactive companies to solve stuff! (and BaseX always makes > them available on a public snapshot!) > > -- > Florent Georges > http://fgeorges.org/ > http://h2oconsulting.be/ > > > On 12 May 2015 at 10:46, Christian Grün wrote: >>> Not between 2 versions not next to each other (20120509 and >>> 20100107). But it happens that the change occurred between the latest >>> (20120509) and the directly previous one (20101111). >> >> Fine! >> >> I have updated the snapshot [1]; both 'content' and the abbrev >> directory will now be detected. >> Christian >> >> [1] http://files.basex.org/releases/latest/ >> >> >>> So you can >>> follow the link "Revision markup", which is the diff version from an >>> edition against the previous one: >>> http://expath.org/spec/pkg/20120509/diff. >>> >>> Basically, in addition to the change with the content dir Andy >>> reported, there are the following changes in that edition: >>> >>> - new DTD and resource components >>> - dependency to a specific processor uses a URI >>> - new section on URI resolution >>> >>> Regards, >>> >>> -- >>> Florent Georges >>> http://fgeorges.org/ >>> http://h2oconsulting.be/ >>> >>> >>> On 12 May 2015 at 09:52, Christian Grün wrote: >>>> Hi Florent, >>>> >>>> Thanks for your comment. Do you plan to publish a diff version of the two specs? >>>> >>>> Christian >>>> >>>> >>>> >>>> On Tue, May 12, 2015 at 9:51 AM, Florent Georges <fgeorges at fgeorges.org> wrote: >>>>> Hi, >>>>> >>>>> That's correct Andy, that has changed some time ago, based on some feedback. >>>>> >>>>> For what it's worth, in the implementation for Saxon and Calabash, I >>>>> support both for a transitional period (if 'content' is there, that's >>>>> the new model, if a dir with the package name exists, then that's the >>>>> old format and I issue a warning but keep going, else it is a format >>>>> error). >>>>> >>>>> Regards, >>>>> >>>>> -- >>>>> Florent Georges >>>>> http://fgeorges.org/ >>>>> http://h2oconsulting.be/ >>>>> >>>>> >>>>> On 12 May 2015 at 09:30, Christian Grün wrote: >>>>>> Hi Andy, >>>>>> >>>>>> Thanks for the hint. I will browse through the current and the older >>>>>> version of the spec in order to find out what else has changed. >>>>>> >>>>>> Christian >>>>>> >>>>>> >>>>>> >>>>>> On Mon, May 11, 2015 at 3:42 PM, Andy Bunce <bunce.andy at gmail.com> wrote: >>>>>>> Hi, >>>>>>> >>>>>>> It appears the EXPath package format has changed. The current version of the >>>>>>> spec reads: >>>>>>> >>>>>>> the root of the ZIP file contains a directory named content, containing the >>>>>>> components and any other file the package needs. >>>>>>> >>>>>>> http://expath.org/spec/pkg#descriptor >>>>>>> >>>>>>> A previous version http://expath.org/spec/pkg/20100107#d2e112 reads >>>>>>> >>>>>>> Alongside this descriptor, the root of the ZIP file contains a directory >>>>>>> named after the module name (see below) which contains the components and >>>>>>> any other file the package needs. >>>>>>> >>>>>>> BaseX appears only to support this earlier version. If a package using a >>>>>>> content folder is installed the following error is reported: >>>>>>> >>>>>>> [bxerr:BXRE0004] Package descriptor: Invalid attribute 'name' >>>>>>> >>>>>>> /Andy

⚡Generated with XQuery