[Pharo-project] XML and DTD
Hi, Now, I'm playing with XML-Parser. It's a funny game but I have a little question. How to validate a XML file with a DTD ? Thank for your help. Best regards Olivier ;-) www.auverlot.fr
On Thu, Apr 28, 2011 at 11:58 AM, Olivier Auverlot <olivier.auverlot@gmail.com> wrote:
Now, I'm playing with XML-Parser. It's a funny game but I have a little question. How to validate a XML file with a DTD ?
I don't know about your question. However, you may also want to try this parser: http://source.lukas-renggli.ch/petit -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry
On Apr 28, 2011, at 11:58 AM, Olivier Auverlot wrote:
Hi,
Now, I'm playing with XML-Parser. It's a funny game but I have a little question. How to validate a XML file with a DTD ?
I do not know. In VisualWorks there was a kind of validator now in XMLwriter....package I do not know.
Thank for your help.
Best regards Olivier ;-)
www.auverlot.fr
Le 28/04/11 14:38, Stéphane Ducasse a écrit :
On Apr 28, 2011, at 11:58 AM, Olivier Auverlot wrote:
Hi,
Now, I'm playing with XML-Parser. It's a funny game but I have a little question. How to validate a XML file with a DTD ? I do not know.
I need this to validate XML data received by my application. XML-Parser seems to contain the tools required. There is a category named XML-Parser-DTD. In the category XML-Parser, there is a method named XMLConfiguration>>#isValidating. But how use them ? Someone has a link to a documentation, an exemple, an information, an bottle that contains a message, something ? What are the alternative ways to parsing XM, generating XML and validating XML data ? Olivier ;-) www.auverlot.fr
In VisualWorks there was a kind of validator now in XMLwriter....package I do not know.
Thank for your help.
Best regards Olivier ;-)
www.auverlot.fr
Hi Olivier! There no documentation as far I am aware of. If you find a way to solve your problem, please write tests about it Alexandre Le 29 avr. 2011 à 06:11, Olivier Auverlot <olivier.auverlot@gmail.com> a écrit :
Le 28/04/11 14:38, Stéphane Ducasse a écrit :
On Apr 28, 2011, at 11:58 AM, Olivier Auverlot wrote:
Hi,
Now, I'm playing with XML-Parser. It's a funny game but I have a little question. How to validate a XML file with a DTD ? I do not know.
I need this to validate XML data received by my application. XML-Parser seems to contain the tools required. There is a category named XML-Parser-DTD. In the category XML-Parser, there is a method named XMLConfiguration>>#isValidating. But how use them ?
Someone has a link to a documentation, an exemple, an information, an bottle that contains a message, something ?
What are the alternative ways to parsing XM, generating XML and validating XML data ?
Olivier ;-) www.auverlot.fr
In VisualWorks there was a kind of validator now in XMLwriter....package I do not know.
Thank for your help.
Best regards Olivier ;-)
www.auverlot.fr
participants (4)
-
Alexandre Bergel -
Damien Cassou -
Olivier Auverlot -
Stéphane Ducasse