> On 25 Apr 2015, at 12:18 am, Peter Kelly <pmke...@apache.org> wrote:
> 
> On 24 Apr 2015, at 11:36 pm, Gabriela Gibson <gabriela.gib...@gmail.com 
> <mailto:gabriela.gib...@gmail.com>> wrote:
>> 
>> I take it I can just run the /schemas/generate.sh script, or do I need to
>> modify anything?
> 
> You’re using linux, right?
> 
> It turns out the scripts still work if you have a functioning phantomjs 
> installation. In my Ubuntu VM I did:
> 
> sudo apt-get install phantomjs
> 
> I then had to modify the relaxng.js and createimpl.js to refer to 
> /usr/bin/phantomjs instead of /usr/local/bin/phantomjs (the former is where 
> apt-get puts it). Then I ran generate.sh and it produced the DFXMLNames.{h.c} 
> and DFXMLNamespaces.{h.c} successfully, with identical output to what is 
> there currently.

Ah - it did put them in the wrong location (DocFormats/names/ instead of 
DocFormats/core/src/names/) but apart from that the files were fine.

—
Dr Peter M. Kelly
pmke...@apache.org

PGP key: http://www.kellypmk.net/pgp-key <http://www.kellypmk.net/pgp-key>
(fingerprint 5435 6718 59F0 DD1F BFA0 5E46 2523 BAA1 44AE 2966)

Reply via email to