You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by "johny.dee" <Jo...@seznam.cz> on 2008/02/01 10:06:58 UTC
Re: XalanTransformer::setUseValidation() seems not to work
David Bertoni wrote:
>
> johny.dee wrote:
>> Hello.
>> I use libxalan-c.so.110 and it seems that
>> XalanTransformer::setUseValidation()
>> does not work.
>>
>> Also, the '-v' switch does not work with Xalan executable. When I use it
>> and
>> I
>> have DTD reference included in XML file (), it only reports error when
>> the
>> file
>> with the DTD does not exist.
>> The DTD reference is of type <!DOCTYPE xxx SYSTEM location> .
> That seems strange. Can you post a small sample document and DTD that
> reproduce the problem?
>
> Dave
>
>
Thank you for your answer. I am sending XML, DTD and XSL for the case when
''Xalan -v' does not work. To be more precise about versions, Xalan says
Xalan version 1.10.0.
Xerces version 2.7.0.
http://www.nabble.com/file/p15222911/xml.tar.gz xml.tar.gz
--
View this message in context: http://www.nabble.com/XalanTransformer%3A%3AsetUseValidation%28%29-seems-not-to-work-tp15200976p15222911.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.
Re: XalanTransformer::setUseValidation() seems not to work
Posted by "David S." <da...@solder.ath.cx>.
David Bertoni wrote:
>
> David S. wrote:
>> johny.dee wrote:
>>> David Bertoni wrote:
>>>> johny.dee wrote:
>>>>> Hello.
>>>>> I use libxalan-c.so.110 and it seems that
>>>>> XalanTransformer::setUseValidation()
>>>>> does not work.
>>>>>
>>>>> Also, the '-v' switch does not work with Xalan executable. When I use
>>>>> it
>>>>> and
>>>>> I
>>>>> have DTD reference included in XML file (), it only reports error when
>>>>> the
>>>>> file
>>>>> with the DTD does not exist.
>>>>> The DTD reference is of type <!DOCTYPE xxx SYSTEM location> .
>>>> That seems strange. Can you post a small sample document and DTD that
>>>> reproduce the problem?
>>>>
>>>> Dave
>>>>
>>> Thank you for your answer. I am sending XML, DTD and XSL for the case
>>> when
>>> ''Xalan -v' does not work. To be more precise about versions, Xalan says
>>> Xalan version 1.10.0.
>>> Xerces version 2.7.0.
>>> http://www.nabble.com/file/p15222911/xml.tar.gz xml.tar.gz
>>>
>>
>> I'm unable to duplicate the problem with Xalan -v.
>> But I have also been unable to make setUseValidation work correctly.
>> I'm using the same version of Xalan.
> Sorry, but I complete forgot about your question.
>
> It looks like validation was broken by a change in Xerces-C, so please
> file
> a Jira issue and attach the archive you provided.
>
> https://issues.apache.org/jira/browse/XALANC
>
> Dave
>>
>
>
>
My problem with validation was caused by the DTD element in the Xerces DOM
not being wrapped correctly. The following code demonstrates the correct
behaviour when reading the XMl data from a file.
http://www.nabble.com/file/p15919551/validate.cc validate.cc
--
View this message in context: http://www.nabble.com/XalanTransformer%3A%3AsetUseValidation%28%29-seems-not-to-work-tp15200976p15919551.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.
Re: XalanTransformer::setUseValidation() seems not to work
Posted by "johny.dee" <Jo...@seznam.cz>.
Thankk you. V.
David Bertoni wrote:
>
> David S. wrote:
>> johny.dee wrote:
>>> David Bertoni wrote:
>>>> johny.dee wrote:
>>>>> Hello.
>>>>> I use libxalan-c.so.110 and it seems that
>>>>> XalanTransformer::setUseValidation()
>>>>> does not work.
>>>>>
>>>>> Also, the '-v' switch does not work with Xalan executable. When I use
>>>>> it
>>>>> and
>>>>> I
>>>>> have DTD reference included in XML file (), it only reports error when
>>>>> the
>>>>> file
>>>>> with the DTD does not exist.
>>>>> The DTD reference is of type <!DOCTYPE xxx SYSTEM location> .
>>>> That seems strange. Can you post a small sample document and DTD that
>>>> reproduce the problem?
>>>>
>>>> Dave
>>>>
>>> Thank you for your answer. I am sending XML, DTD and XSL for the case
>>> when
>>> ''Xalan -v' does not work. To be more precise about versions, Xalan says
>>> Xalan version 1.10.0.
>>> Xerces version 2.7.0.
>>> http://www.nabble.com/file/p15222911/xml.tar.gz xml.tar.gz
>>>
>>
>> I'm unable to duplicate the problem with Xalan -v.
>> But I have also been unable to make setUseValidation work correctly.
>> I'm using the same version of Xalan.
> Sorry, but I complete forgot about your question.
>
> It looks like validation was broken by a change in Xerces-C, so please
> file
> a Jira issue and attach the archive you provided.
>
> https://issues.apache.org/jira/browse/XALANC
>
> Dave
>>
>
>
>
--
View this message in context: http://www.nabble.com/XalanTransformer%3A%3AsetUseValidation%28%29-seems-not-to-work-tp15200976p15823439.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.
Re: XalanTransformer::setUseValidation() seems not to work
Posted by "David S." <da...@solder.ath.cx>.
David Bertoni wrote:
>
> It looks like validation was broken by a change in Xerces-C, so please
> file
> a Jira issue and attach the archive you provided.
>
> https://issues.apache.org/jira/browse/XALANC
>
I attached V's archive. Thanks for the patch, but I don't know how to start
the build from the subversion source, as
runConfigure isn't in the repository. Advice, please?
--
View this message in context: http://www.nabble.com/XalanTransformer%3A%3AsetUseValidation%28%29-seems-not-to-work-tp15200976p15910644.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.
Re: XalanTransformer::setUseValidation() seems not to work
Posted by David Bertoni <db...@apache.org>.
David S. wrote:
> johny.dee wrote:
>> David Bertoni wrote:
>>> johny.dee wrote:
>>>> Hello.
>>>> I use libxalan-c.so.110 and it seems that
>>>> XalanTransformer::setUseValidation()
>>>> does not work.
>>>>
>>>> Also, the '-v' switch does not work with Xalan executable. When I use it
>>>> and
>>>> I
>>>> have DTD reference included in XML file (), it only reports error when
>>>> the
>>>> file
>>>> with the DTD does not exist.
>>>> The DTD reference is of type <!DOCTYPE xxx SYSTEM location> .
>>> That seems strange. Can you post a small sample document and DTD that
>>> reproduce the problem?
>>>
>>> Dave
>>>
>> Thank you for your answer. I am sending XML, DTD and XSL for the case when
>> ''Xalan -v' does not work. To be more precise about versions, Xalan says
>> Xalan version 1.10.0.
>> Xerces version 2.7.0.
>> http://www.nabble.com/file/p15222911/xml.tar.gz xml.tar.gz
>>
>
> I'm unable to duplicate the problem with Xalan -v.
> But I have also been unable to make setUseValidation work correctly.
> I'm using the same version of Xalan.
Sorry, but I complete forgot about your question.
It looks like validation was broken by a change in Xerces-C, so please file
a Jira issue and attach the archive you provided.
https://issues.apache.org/jira/browse/XALANC
Dave
>
Re: XalanTransformer::setUseValidation() seems not to work
Posted by "David S." <da...@solder.ath.cx>.
johny.dee wrote:
>
>
>
> David Bertoni wrote:
>>
>> johny.dee wrote:
>>> Hello.
>>> I use libxalan-c.so.110 and it seems that
>>> XalanTransformer::setUseValidation()
>>> does not work.
>>>
>>> Also, the '-v' switch does not work with Xalan executable. When I use it
>>> and
>>> I
>>> have DTD reference included in XML file (), it only reports error when
>>> the
>>> file
>>> with the DTD does not exist.
>>> The DTD reference is of type <!DOCTYPE xxx SYSTEM location> .
>> That seems strange. Can you post a small sample document and DTD that
>> reproduce the problem?
>>
>> Dave
>>
>>
>
> Thank you for your answer. I am sending XML, DTD and XSL for the case when
> ''Xalan -v' does not work. To be more precise about versions, Xalan says
> Xalan version 1.10.0.
> Xerces version 2.7.0.
> http://www.nabble.com/file/p15222911/xml.tar.gz xml.tar.gz
>
I'm unable to duplicate the problem with Xalan -v.
But I have also been unable to make setUseValidation work correctly.
I'm using the same version of Xalan.
--
View this message in context: http://www.nabble.com/XalanTransformer%3A%3AsetUseValidation%28%29-seems-not-to-work-tp15200976p15732594.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.