Csound Csound-dev Csound-tekno Search About

[Cs-dev] Manual Compilation Problems

Date2006-11-15 16:27
From"Steven Yi"
Subject[Cs-dev] Manual Compilation Problems
AttachmentsNone  

Date2006-11-16 00:54
FromAndres Cabrera
SubjectRe: [Cs-dev] Manual Compilation Problems
Hi Steven,
There was a problem with csound5/usersguide.xml. I somehow committed an 
empty file, so that was the source of one error (The released version is 
correct, though...).

Now compilation is failing for me and I am getting
runtime error: file stylesheets/xhtml/docbook.xsl line 100 element value-of
Internal error in xsltValueOf(): failed to cast an XPath object to string.

I also get a lot of:
error : unterminated entity reference               &
Writing modulus.html for refentry(modulus)

Which weren't there before, and seem OK to me...

I think the most recent version of xsltproc (and libxslt) might be the 
cause, since three days ago (after building the manual), aptitude 
upgraded xsltproc. What version do you have?


[UPGRADE] xsltproc 1.1.17-5 -> 1.1.18-1

I'm having a look to see what I can find...
Thankfully I had built the manual before this....

Cheers,
Andrés


Steven Yi wrote:
> Hi All,
>
> I tried compiling the manual today for the first time since upgrading
> to Fedora Core 6 and had some problems.  It seems that ControlMacro is
> a linkend in control/subinstr.xml but that is no longer valid.  I get
> partially through compilation before it ends.  I am assuming that the
> newer software I installed is a little less forgiving than the older
> software or has different quirks? :P
>
> I also ran a test against the xml using "make test-xml" and it
> reported 4 errors, but hard to see as it sort of just blows everything
> by on the console.  So I ran with a different command:
>
> xmllint --postvalid --xinclude --dtdattr --noent manual.xml
>
> and it shows errors at the end of run.  This could be outputted to file using:
>
>  xmllint --postvalid --xinclude --dtdattr --noent manual.xml  &> out.txt
>
> Beyond the ControlMacro, I'm not sure exactly what other errors are,
> and most seem like false positives.
>
> I remember that the controlMacro section was moved but don't remember
> where to and what it's id is now.  Any help with that would be
> appreciated!
>
> steven
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-11-16 04:50
FromAndres Cabrera
SubjectRe: [Cs-dev] Manual Compilation Problems
Hi,

To follow up on the new manual compilation errors, there seems to have 
been a change in behavior in xsltproc. It's almost as if it's expanding 
the entities before processing, so things like & = generate 
errors because  they are processed...
The problem might be related to some non-Docbook-compliant tagging, 
which kills this version. The problem is very wide spread, like the use 
of lists without para tags inside. I've corrected many of them but there 
are still many missing.
What else could be the problem...?

Cheers,
Andrés



Andres Cabrera wrote:
> Hi Steven,
> There was a problem with csound5/usersguide.xml. I somehow committed an 
> empty file, so that was the source of one error (The released version is 
> correct, though...).
>
> Now compilation is failing for me and I am getting
> runtime error: file stylesheets/xhtml/docbook.xsl line 100 element value-of
> Internal error in xsltValueOf(): failed to cast an XPath object to string.
>
> I also get a lot of:
> error : unterminated entity reference               &
> Writing modulus.html for refentry(modulus)
>
> Which weren't there before, and seem OK to me...
>
> I think the most recent version of xsltproc (and libxslt) might be the 
> cause, since three days ago (after building the manual), aptitude 
> upgraded xsltproc. What version do you have?
>
>
> [UPGRADE] xsltproc 1.1.17-5 -> 1.1.18-1
>
> I'm having a look to see what I can find...
> Thankfully I had built the manual before this....
>
> Cheers,
> Andrés
>
>
> Steven Yi wrote:
>   
>> Hi All,
>>
>> I tried compiling the manual today for the first time since upgrading
>> to Fedora Core 6 and had some problems.  It seems that ControlMacro is
>> a linkend in control/subinstr.xml but that is no longer valid.  I get
>> partially through compilation before it ends.  I am assuming that the
>> newer software I installed is a little less forgiving than the older
>> software or has different quirks? :P
>>
>> I also ran a test against the xml using "make test-xml" and it
>> reported 4 errors, but hard to see as it sort of just blows everything
>> by on the console.  So I ran with a different command:
>>
>> xmllint --postvalid --xinclude --dtdattr --noent manual.xml
>>
>> and it shows errors at the end of run.  This could be outputted to file using:
>>
>>  xmllint --postvalid --xinclude --dtdattr --noent manual.xml  &> out.txt
>>
>> Beyond the ControlMacro, I'm not sure exactly what other errors are,
>> and most seem like false positives.
>>
>> I remember that the controlMacro section was moved but don't remember
>> where to and what it's id is now.  Any help with that would be
>> appreciated!
>>
>> steven
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>   
>>     
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-11-16 10:48
From"Steven Yi"
SubjectRe: [Cs-dev] Manual Compilation Problems
AttachmentsNone  

Date2006-11-16 11:34
FromAndres Cabrera
SubjectRe: [Cs-dev] Manual Compilation Problems
Hi Steven,
I couldn't downgrade either... too many packages depend on it (but that 
means it'll probably be fixed soon)

I'll get to it... I'd prefer if you concentrate on the harder stuff....

Cheers,
Andrés


Steven Yi wrote:
> Hi Andres,
>
> I have 1.1.18-1 here as well.  Running test-xml I see the same errors
> too with invalid Docbook markup.  They probably *should* be fixed up,
> even though that there are quite many number of changes to do then. =(
>
> There *do* seem to be bugs though in 1.1.18.  I've been googling for
> information and found:
>
> http://bugzilla.gnome.org/show_bug.cgi?id=352907
>
> regarding entities. There also seem to be problems with xinclude's.
>
> I'm not really sure what to do here.  I tried to find ways to
> downgrade packages with yum and installed the yum-allowdowngrade
> package but haven't found out how to use it.  It seems that there's
> lots of software that depends on 1.1.18 though, so that might not be a
> viable solution.
>
> I guess we can start with fixing up the non-docbook compliant stuff
> first to see if we get anywhere with that.
>
> stevne
>
>
> On 11/16/06, Andres Cabrera  wrote:
>   
>> Hi,
>>
>> To follow up on the new manual compilation errors, there seems to have
>> been a change in behavior in xsltproc. It's almost as if it's expanding
>> the entities before processing, so things like & = generate
>> errors because  they are processed...
>> The problem might be related to some non-Docbook-compliant tagging,
>> which kills this version. The problem is very wide spread, like the use
>> of lists without para tags inside. I've corrected many of them but there
>> are still many missing.
>> What else could be the problem...?
>>
>> Cheers,
>> Andrés
>>
>>
>>
>> Andres Cabrera wrote:
>>     
>>> Hi Steven,
>>> There was a problem with csound5/usersguide.xml. I somehow committed an
>>> empty file, so that was the source of one error (The released version is
>>> correct, though...).
>>>
>>> Now compilation is failing for me and I am getting
>>> runtime error: file stylesheets/xhtml/docbook.xsl line 100 element value-of
>>> Internal error in xsltValueOf(): failed to cast an XPath object to string.
>>>
>>> I also get a lot of:
>>> error : unterminated entity reference               &
>>> Writing modulus.html for refentry(modulus)
>>>
>>> Which weren't there before, and seem OK to me...
>>>
>>> I think the most recent version of xsltproc (and libxslt) might be the
>>> cause, since three days ago (after building the manual), aptitude
>>> upgraded xsltproc. What version do you have?
>>>
>>>
>>> [UPGRADE] xsltproc 1.1.17-5 -> 1.1.18-1
>>>
>>> I'm having a look to see what I can find...
>>> Thankfully I had built the manual before this....
>>>
>>> Cheers,
>>> Andrés
>>>
>>>
>>> Steven Yi wrote:
>>>
>>>       
>>>> Hi All,
>>>>
>>>> I tried compiling the manual today for the first time since upgrading
>>>> to Fedora Core 6 and had some problems.  It seems that ControlMacro is
>>>> a linkend in control/subinstr.xml but that is no longer valid.  I get
>>>> partially through compilation before it ends.  I am assuming that the
>>>> newer software I installed is a little less forgiving than the older
>>>> software or has different quirks? :P
>>>>
>>>> I also ran a test against the xml using "make test-xml" and it
>>>> reported 4 errors, but hard to see as it sort of just blows everything
>>>> by on the console.  So I ran with a different command:
>>>>
>>>> xmllint --postvalid --xinclude --dtdattr --noent manual.xml
>>>>
>>>> and it shows errors at the end of run.  This could be outputted to file using:
>>>>
>>>>  xmllint --postvalid --xinclude --dtdattr --noent manual.xml  &> out.txt
>>>>
>>>> Beyond the ControlMacro, I'm not sure exactly what other errors are,
>>>> and most seem like false positives.
>>>>
>>>> I remember that the controlMacro section was moved but don't remember
>>>> where to and what it's id is now.  Any help with that would be
>>>> appreciated!
>>>>
>>>> steven
>>>>
>>>> -------------------------------------------------------------------------
>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>>
>>>>         
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>       
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>     
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-11-16 12:04
From"Steven Yi"
SubjectRe: [Cs-dev] Manual Compilation Problems
AttachmentsNone  

Date2006-11-16 15:11
FromAndres Cabrera
SubjectRe: [Cs-dev] Manual Compilation Problems
OK, if the blue manual compiles, there's hope for the csound manual....

Thanks,
Andrés

Steven Yi wrote:
> Okay. =)  No complaints here.  I did test and was able to compile the
> blue manual, but I don't think I am using any xinclude's.  But the
> markup in the blue manual is all valid I think so maybe fixing up the
> manual markup will get us somewhere.
>
> Thanks for your hard work!
> steven
>
>
> On 11/16/06, Andres Cabrera  wrote:
>   
>> Hi Steven,
>> I couldn't downgrade either... too many packages depend on it (but that
>> means it'll probably be fixed soon)
>>
>> I'll get to it... I'd prefer if you concentrate on the harder stuff....
>>
>> Cheers,
>> Andrés
>>
>>
>> Steven Yi wrote:
>>     
>>> Hi Andres,
>>>
>>> I have 1.1.18-1 here as well.  Running test-xml I see the same errors
>>> too with invalid Docbook markup.  They probably *should* be fixed up,
>>> even though that there are quite many number of changes to do then. =(
>>>
>>> There *do* seem to be bugs though in 1.1.18.  I've been googling for
>>> information and found:
>>>
>>> http://bugzilla.gnome.org/show_bug.cgi?id=352907
>>>
>>> regarding entities. There also seem to be problems with xinclude's.
>>>
>>> I'm not really sure what to do here.  I tried to find ways to
>>> downgrade packages with yum and installed the yum-allowdowngrade
>>> package but haven't found out how to use it.  It seems that there's
>>> lots of software that depends on 1.1.18 though, so that might not be a
>>> viable solution.
>>>
>>> I guess we can start with fixing up the non-docbook compliant stuff
>>> first to see if we get anywhere with that.
>>>
>>> stevne
>>>
>>>
>>> On 11/16/06, Andres Cabrera  wrote:
>>>
>>>       
>>>> Hi,
>>>>
>>>> To follow up on the new manual compilation errors, there seems to have
>>>> been a change in behavior in xsltproc. It's almost as if it's expanding
>>>> the entities before processing, so things like & = generate
>>>> errors because  they are processed...
>>>> The problem might be related to some non-Docbook-compliant tagging,
>>>> which kills this version. The problem is very wide spread, like the use
>>>> of lists without para tags inside. I've corrected many of them but there
>>>> are still many missing.
>>>> What else could be the problem...?
>>>>
>>>> Cheers,
>>>> Andrés
>>>>
>>>>
>>>>
>>>> Andres Cabrera wrote:
>>>>
>>>>         
>>>>> Hi Steven,
>>>>> There was a problem with csound5/usersguide.xml. I somehow committed an
>>>>> empty file, so that was the source of one error (The released version is
>>>>> correct, though...).
>>>>>
>>>>> Now compilation is failing for me and I am getting
>>>>> runtime error: file stylesheets/xhtml/docbook.xsl line 100 element value-of
>>>>> Internal error in xsltValueOf(): failed to cast an XPath object to string.
>>>>>
>>>>> I also get a lot of:
>>>>> error : unterminated entity reference               &
>>>>> Writing modulus.html for refentry(modulus)
>>>>>
>>>>> Which weren't there before, and seem OK to me...
>>>>>
>>>>> I think the most recent version of xsltproc (and libxslt) might be the
>>>>> cause, since three days ago (after building the manual), aptitude
>>>>> upgraded xsltproc. What version do you have?
>>>>>
>>>>>
>>>>> [UPGRADE] xsltproc 1.1.17-5 -> 1.1.18-1
>>>>>
>>>>> I'm having a look to see what I can find...
>>>>> Thankfully I had built the manual before this....
>>>>>
>>>>> Cheers,
>>>>> Andrés
>>>>>
>>>>>
>>>>> Steven Yi wrote:
>>>>>
>>>>>
>>>>>           
>>>>>> Hi All,
>>>>>>
>>>>>> I tried compiling the manual today for the first time since upgrading
>>>>>> to Fedora Core 6 and had some problems.  It seems that ControlMacro is
>>>>>> a linkend in control/subinstr.xml but that is no longer valid.  I get
>>>>>> partially through compilation before it ends.  I am assuming that the
>>>>>> newer software I installed is a little less forgiving than the older
>>>>>> software or has different quirks? :P
>>>>>>
>>>>>> I also ran a test against the xml using "make test-xml" and it
>>>>>> reported 4 errors, but hard to see as it sort of just blows everything
>>>>>> by on the console.  So I ran with a different command:
>>>>>>
>>>>>> xmllint --postvalid --xinclude --dtdattr --noent manual.xml
>>>>>>
>>>>>> and it shows errors at the end of run.  This could be outputted to file using:
>>>>>>
>>>>>>  xmllint --postvalid --xinclude --dtdattr --noent manual.xml  &> out.txt
>>>>>>
>>>>>> Beyond the ControlMacro, I'm not sure exactly what other errors are,
>>>>>> and most seem like false positives.
>>>>>>
>>>>>> I remember that the controlMacro section was moved but don't remember
>>>>>> where to and what it's id is now.  Any help with that would be
>>>>>> appreciated!
>>>>>>
>>>>>> steven
>>>>>>
>>>>>> -------------------------------------------------------------------------
>>>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>>>>> -------------------------------------------------------------------------
>>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> -------------------------------------------------------------------------
>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>>         
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>       
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>     
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-11-17 23:22
FromAndres Cabrera
SubjectRe: [Cs-dev] Manual Compilation Problems
Hi Steven,
I've fixed compilation of the manual the offending line, which looks
absolutely fine to me is located in opcodes/if.xml . The line is the last
xinclude. The example is missing, but the manual builds while we can find
the problem. I've also fixed many docbook warnings, but there are still
many. I've added some documentation for the virtual keyboard, please have a
look and let me know if you think there should be more information.

Cheers,
Andres



Steven Yi wrote:
> 
> Okay. =)  No complaints here.  I did test and was able to compile the
> blue manual, but I don't think I am using any xinclude's.  But the
> markup in the blue manual is all valid I think so maybe fixing up the
> manual markup will get us somewhere.
> 
> Thanks for your hard work!
> steven
> 
> 
> On 11/16/06, Andres Cabrera  wrote:
>> Hi Steven,
>> I couldn't downgrade either... too many packages depend on it (but that
>> means it'll probably be fixed soon)
>>
>> I'll get to it... I'd prefer if you concentrate on the harder stuff....
>>
>> Cheers,
>> Andrés
>>
>>
>> Steven Yi wrote:
>> > Hi Andres,
>> >
>> > I have 1.1.18-1 here as well.  Running test-xml I see the same errors
>> > too with invalid Docbook markup.  They probably *should* be fixed up,
>> > even though that there are quite many number of changes to do then. =(
>> >
>> > There *do* seem to be bugs though in 1.1.18.  I've been googling for
>> > information and found:
>> >
>> > http://bugzilla.gnome.org/show_bug.cgi?id=352907
>> >
>> > regarding entities. There also seem to be problems with xinclude's.
>> >
>> > I'm not really sure what to do here.  I tried to find ways to
>> > downgrade packages with yum and installed the yum-allowdowngrade
>> > package but haven't found out how to use it.  It seems that there's
>> > lots of software that depends on 1.1.18 though, so that might not be a
>> > viable solution.
>> >
>> > I guess we can start with fixing up the non-docbook compliant stuff
>> > first to see if we get anywhere with that.
>> >
>> > stevne
>> >
>> >
>> > On 11/16/06, Andres Cabrera  wrote:
>> >
>> >> Hi,
>> >>
>> >> To follow up on the new manual compilation errors, there seems to have
>> >> been a change in behavior in xsltproc. It's almost as if it's
>> expanding
>> >> the entities before processing, so things like & = generate
>> >> errors because  they are processed...
>> >> The problem might be related to some non-Docbook-compliant tagging,
>> >> which kills this version. The problem is very wide spread, like the
>> use
>> >> of lists without para tags inside. I've corrected many of them but
>> there
>> >> are still many missing.
>> >> What else could be the problem...?
>> >>
>> >> Cheers,
>> >> Andrés
>> >>
>> >>
>> >>
>> >> Andres Cabrera wrote:
>> >>
>> >>> Hi Steven,
>> >>> There was a problem with csound5/usersguide.xml. I somehow committed
>> an
>> >>> empty file, so that was the source of one error (The released version
>> is
>> >>> correct, though...).
>> >>>
>> >>> Now compilation is failing for me and I am getting
>> >>> runtime error: file stylesheets/xhtml/docbook.xsl line 100 element
>> value-of
>> >>> Internal error in xsltValueOf(): failed to cast an XPath object to
>> string.
>> >>>
>> >>> I also get a lot of:
>> >>> error : unterminated entity reference               &
>> >>> Writing modulus.html for refentry(modulus)
>> >>>
>> >>> Which weren't there before, and seem OK to me...
>> >>>
>> >>> I think the most recent version of xsltproc (and libxslt) might be
>> the
>> >>> cause, since three days ago (after building the manual), aptitude
>> >>> upgraded xsltproc. What version do you have?
>> >>>
>> >>>
>> >>> [UPGRADE] xsltproc 1.1.17-5 -> 1.1.18-1
>> >>>
>> >>> I'm having a look to see what I can find...
>> >>> Thankfully I had built the manual before this....
>> >>>
>> >>> Cheers,
>> >>> Andrés
>> >>>
>> >>>
>> >>> Steven Yi wrote:
>> >>>
>> >>>
>> >>>> Hi All,
>> >>>>
>> >>>> I tried compiling the manual today for the first time since
>> upgrading
>> >>>> to Fedora Core 6 and had some problems.  It seems that ControlMacro
>> is
>> >>>> a linkend in control/subinstr.xml but that is no longer valid.  I
>> get
>> >>>> partially through compilation before it ends.  I am assuming that
>> the
>> >>>> newer software I installed is a little less forgiving than the older
>> >>>> software or has different quirks? :P
>> >>>>
>> >>>> I also ran a test against the xml using "make test-xml" and it
>> >>>> reported 4 errors, but hard to see as it sort of just blows
>> everything
>> >>>> by on the console.  So I ran with a different command:
>> >>>>
>> >>>> xmllint --postvalid --xinclude --dtdattr --noent manual.xml
>> >>>>
>> >>>> and it shows errors at the end of run.  This could be outputted to
>> file using:
>> >>>>
>> >>>>  xmllint --postvalid --xinclude --dtdattr --noent manual.xml  &>
>> out.txt
>> >>>>
>> >>>> Beyond the ControlMacro, I'm not sure exactly what other errors are,
>> >>>> and most seem like false positives.
>> >>>>
>> >>>> I remember that the controlMacro section was moved but don't
>> remember
>> >>>> where to and what it's id is now.  Any help with that would be
>> >>>> appreciated!
>> >>>>
>> >>>> steven
>> >>>>
>> >>>>
>> -------------------------------------------------------------------------
>> >>>> Take Surveys. Earn Cash. Influence the Future of IT
>> >>>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> >>>> opinions on IT & business topics through brief surveys - and earn
>> cash
>> >>>>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >>>> _______________________________________________
>> >>>> Csound-devel mailing list
>> >>>> Csound-devel@lists.sourceforge.net
>> >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>
>> -------------------------------------------------------------------------
>> >>> Take Surveys. Earn Cash. Influence the Future of IT
>> >>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> >>> opinions on IT & business topics through brief surveys - and earn
>> cash
>> >>>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >>> _______________________________________________
>> >>> Csound-devel mailing list
>> >>> Csound-devel@lists.sourceforge.net
>> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>>
>> >>>
>> >>>
>> >>
>> -------------------------------------------------------------------------
>> >> Take Surveys. Earn Cash. Influence the Future of IT
>> >> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> >> opinions on IT & business topics through brief surveys - and earn cash
>> >>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >> _______________________________________________
>> >> Csound-devel mailing list
>> >> Csound-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>
>> >>
>> >
>> >
>> -------------------------------------------------------------------------
>> > Take Surveys. Earn Cash. Influence the Future of IT
>> > Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> > opinions on IT & business topics through brief surveys - and earn cash
>> >
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>> >
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 

-- 
View this message in context: http://www.nabble.com/Manual-Compilation-Problems-tf2637255.html#a7412872
Sent from the Csound - Dev mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://

Date2006-11-18 20:17
From"Steven Yi"
SubjectRe: [Cs-dev] Manual Compilation Problems
AttachmentsNone  

Date2006-11-20 02:31
FromAndres Cabrera
SubjectRe: [Cs-dev] Manual Compilation Problems
Hi,
No problem. The line I commented out is still a mystery to me why it 
breaks compilation... It's probably a character or combination of 
characters inside the xincluded file.
I've got rid of most warnings but the xinclude ones will never be gone 
since they are not really part of docbook...
I've checked pdf and it's also building fine.
Thanks for filling in the information on the virtual keyboard.

Cheers,
Andrés



Steven Yi wrote:
> Hi Andres,
>
> Wow, that's a lot of work you did!  I'm happy to say that the manual
> now compiles for me (I did not try PDF though).  I am working on
> filling out the documentation to the virtual keyboard (i.e. keyboard
> mappings, how the settings are done per bank or per channel) and will
> check in an update in the next day or two.
>
> Thanks so much for your work to get things updated to compile!
> steven
>
>
> On 11/18/06, Andres Cabrera  wrote:
>   
>> Hi Steven,
>> I've fixed compilation of the manual the offending line, which looks
>> absolutely fine to me is located in opcodes/if.xml . The line is the last
>> xinclude. The example is missing, but the manual builds while we can find
>> the problem. I've also fixed many docbook warnings, but there are still
>> many. I've added some documentation for the virtual keyboard, please have a
>> look and let me know if you think there should be more information.
>>
>> Cheers,
>> Andres
>>
>>
>>
>> Steven Yi wrote:
>>     
>>> Okay. =)  No complaints here.  I did test and was able to compile the
>>> blue manual, but I don't think I am using any xinclude's.  But the
>>> markup in the blue manual is all valid I think so maybe fixing up the
>>> manual markup will get us somewhere.
>>>
>>> Thanks for your hard work!
>>> steven
>>>
>>>
>>> On 11/16/06, Andres Cabrera  wrote:
>>>       
>>>> Hi Steven,
>>>> I couldn't downgrade either... too many packages depend on it (but that
>>>> means it'll probably be fixed soon)
>>>>
>>>> I'll get to it... I'd prefer if you concentrate on the harder stuff....
>>>>
>>>> Cheers,
>>>> Andrés
>>>>
>>>>
>>>> Steven Yi wrote:
>>>>         
>>>>> Hi Andres,
>>>>>
>>>>> I have 1.1.18-1 here as well.  Running test-xml I see the same errors
>>>>> too with invalid Docbook markup.  They probably *should* be fixed up,
>>>>> even though that there are quite many number of changes to do then. =(
>>>>>
>>>>> There *do* seem to be bugs though in 1.1.18.  I've been googling for
>>>>> information and found:
>>>>>
>>>>> http://bugzilla.gnome.org/show_bug.cgi?id=352907
>>>>>
>>>>> regarding entities. There also seem to be problems with xinclude's.
>>>>>
>>>>> I'm not really sure what to do here.  I tried to find ways to
>>>>> downgrade packages with yum and installed the yum-allowdowngrade
>>>>> package but haven't found out how to use it.  It seems that there's
>>>>> lots of software that depends on 1.1.18 though, so that might not be a
>>>>> viable solution.
>>>>>
>>>>> I guess we can start with fixing up the non-docbook compliant stuff
>>>>> first to see if we get anywhere with that.
>>>>>
>>>>> stevne
>>>>>
>>>>>
>>>>> On 11/16/06, Andres Cabrera  wrote:
>>>>>
>>>>>           
>>>>>> Hi,
>>>>>>
>>>>>> To follow up on the new manual compilation errors, there seems to have
>>>>>> been a change in behavior in xsltproc. It's almost as if it's
>>>>>>             
>>>> expanding
>>>>         
>>>>>> the entities before processing, so things like & = generate
>>>>>> errors because  they are processed...
>>>>>> The problem might be related to some non-Docbook-compliant tagging,
>>>>>> which kills this version. The problem is very wide spread, like the
>>>>>>             
>>>> use
>>>>         
>>>>>> of lists without para tags inside. I've corrected many of them but
>>>>>>             
>>>> there
>>>>         
>>>>>> are still many missing.
>>>>>> What else could be the problem...?
>>>>>>
>>>>>> Cheers,
>>>>>> Andrés
>>>>>>
>>>>>>
>>>>>>
>>>>>> Andres Cabrera wrote:
>>>>>>
>>>>>>             
>>>>>>> Hi Steven,
>>>>>>> There was a problem with csound5/usersguide.xml. I somehow committed
>>>>>>>               
>>>> an
>>>>         
>>>>>>> empty file, so that was the source of one error (The released version
>>>>>>>               
>>>> is
>>>>         
>>>>>>> correct, though...).
>>>>>>>
>>>>>>> Now compilation is failing for me and I am getting
>>>>>>> runtime error: file stylesheets/xhtml/docbook.xsl line 100 element
>>>>>>>               
>>>> value-of
>>>>         
>>>>>>> Internal error in xsltValueOf(): failed to cast an XPath object to
>>>>>>>               
>>>> string.
>>>>         
>>>>>>> I also get a lot of:
>>>>>>> error : unterminated entity reference               &
>>>>>>> Writing modulus.html for refentry(modulus)
>>>>>>>
>>>>>>> Which weren't there before, and seem OK to me...
>>>>>>>
>>>>>>> I think the most recent version of xsltproc (and libxslt) might be
>>>>>>>               
>>>> the
>>>>         
>>>>>>> cause, since three days ago (after building the manual), aptitude
>>>>>>> upgraded xsltproc. What version do you have?
>>>>>>>
>>>>>>>
>>>>>>> [UPGRADE] xsltproc 1.1.17-5 -> 1.1.18-1
>>>>>>>
>>>>>>> I'm having a look to see what I can find...
>>>>>>> Thankfully I had built the manual before this....
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Andrés
>>>>>>>
>>>>>>>
>>>>>>> Steven Yi wrote:
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> I tried compiling the manual today for the first time since
>>>>>>>>                 
>>>> upgrading
>>>>         
>>>>>>>> to Fedora Core 6 and had some problems.  It seems that ControlMacro
>>>>>>>>                 
>>>> is
>>>>         
>>>>>>>> a linkend in control/subinstr.xml but that is no longer valid.  I
>>>>>>>>                 
>>>> get
>>>>         
>>>>>>>> partially through compilation before it ends.  I am assuming that
>>>>>>>>                 
>>>> the
>>>>         
>>>>>>>> newer software I installed is a little less forgiving than the older
>>>>>>>> software or has different quirks? :P
>>>>>>>>
>>>>>>>> I also ran a test against the xml using "make test-xml" and it
>>>>>>>> reported 4 errors, but hard to see as it sort of just blows
>>>>>>>>                 
>>>> everything
>>>>         
>>>>>>>> by on the console.  So I ran with a different command:
>>>>>>>>
>>>>>>>> xmllint --postvalid --xinclude --dtdattr --noent manual.xml
>>>>>>>>
>>>>>>>> and it shows errors at the end of run.  This could be outputted to
>>>>>>>>                 
>>>> file using:
>>>>         
>>>>>>>>  xmllint --postvalid --xinclude --dtdattr --noent manual.xml  &>
>>>>>>>>                 
>>>> out.txt
>>>>         
>>>>>>>> Beyond the ControlMacro, I'm not sure exactly what other errors are,
>>>>>>>> and most seem like false positives.
>>>>>>>>
>>>>>>>> I remember that the controlMacro section was moved but don't
>>>>>>>>                 
>>>> remember
>>>>         
>>>>>>>> where to and what it's id is now.  Any help with that would be
>>>>>>>> appreciated!
>>>>>>>>
>>>>>>>> steven
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>> -------------------------------------------------------------------------
>>>>         
>>>>>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to
>>>>>>>>                 
>>>> share your
>>>>         
>>>>>>>> opinions on IT & business topics through brief surveys - and earn
>>>>>>>>                 
>>>> cash
>>>>         
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>         
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>> -------------------------------------------------------------------------
>>>>         
>>>>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to
>>>>>>>               
>>>> share your
>>>>         
>>>>>>> opinions on IT & business topics through brief surveys - and earn
>>>>>>>               
>>>> cash
>>>>         
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>         
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>               
>>>> -------------------------------------------------------------------------
>>>>         
>>>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to
>>>>>>             
>>>> share your
>>>>         
>>>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>>>>
>>>>>>             
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>         
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>>             
>>>>>           
>>>> -------------------------------------------------------------------------
>>>>         
>>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>>>           
>>>> your
>>>>         
>>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>>>
>>>>>           
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>         
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>>           
>>>> -------------------------------------------------------------------------
>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>> your
>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>         
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>> your
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>       
>> --
>> View this message in context: http://www.nabble.com/Manual-Compilation-Problems-tf2637255.html#a7412872
>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>     
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net