XML

2001-05-29 Thread Jonathan Peterson



Hi folx,

Why is it that every time I spend 2 hours working with XML I discover a new twist that 
makes everything more complex than it used to be? And that's deliberately ignoring the 
advanced stuff.

Anyway, does anyone know of any XML authoring tools (any platform) that let you 
compose XML against a Schema (latest spec), enforcing validation as you go?

XML-Spy seems great in most respects but appears to have bugs in this last one.


-- 
Jonathan Peterson
Technical Manager, Unified Ltd, 020 7383 6092
[EMAIL PROTECTED]




Re: XML

2001-05-29 Thread Chris Benson

On Tue, May 29, 2001 at 09:48:28AM +0100, Jonathan Peterson wrote:
 
 Anyway, does anyone know of any XML authoring tools (any platform) that let you 
compose XML against a Schema (latest spec), enforcing validation as you go?
 
 XML-Spy seems great in most respects but appears to have bugs in this last one.

We've been using 0.9x versions of epcEdit for the last few months 
(http://www.tksgml.de/ maybe moved to http://www.epcedit.de/)  but the
recently released v1.0 only gives 60?90? days use before requiring
payment.  It has crashed a few times (usually on Widnos) but we've
used it to create a 300+ page book and will do a second next month.

Win32, Linux/i386 and Solaris versions available.  Uses Tcl/Tk and a
custom library.  Some niggles with the user interface (cursor moving
off-screen during a large paste, ...) but it absolutely enforces the
schema and can show list the valid tags at each point.

We'll be buying it before the end of June for I think c. us$400
-- 
Chris Benson



Re: OT: parsing xml

2001-04-11 Thread Leon Brocard

Mike Jarvis sent the following bits through the ether:

 Has anybody dealt with the data exchange xml standard called BMEcat?
 I've got to hack a parser together quickly and I was hoping to nick
 somebody else's code.

It appears that no-one has answered this. In general, I find
XML::Simple very useful (and simple!) for dealing with XML data
structures. If you need anything more fancy, look into
XML::XPath. Always remember to cache aggressively whenever you use
XML.

HTH, Leon
-- 
Leon Brocard.http://www.astray.com/
Iterative Software..http://yapc.org/Europe/

... All in a day's work for..."Confuse-a-Cat"!



OT: parsing xml

2001-04-04 Thread Mike Jarvis

Sorry, no Buffy content follows:

Has anybody dealt with the data exchange xml standard called BMEcat?
I've got to hack a parser together quickly and I was hoping to nick
somebody else's code.

CPAN has a XML::BMEcat module, but it's aimed more at creating BMEcat
files rather than reading them.  The spec is incredibly icky
(www.bmecat.org if you read german), and I really really really don't
want to have to do this.  All I need to do is shove a BMEcat feed in a
db somewhere and I'm happy.

Help me get the hell out of Texas.  I hate flying into Bush
Intercontinental.

-- 
mike





XML One London

2001-03-15 Thread pmh

Is anyone going to XML One London next week? I'll be there until Wednesday,
but the Thursday didn't look any use to me.

-- 
Peter Haworth   [EMAIL PROTECTED]
"Ok, print the message, then put it in your shoe and put your shoe in front
 of the fireplace... then wait till Santa come and give the code to you ;-)
 Hey! this is not mod_santa list !"
-- Fabrice Scemama on the mod_perl list



Re: XML::Schema, YAPC::Europe, mod_perl, Camel Visit, !RANT!

2001-01-12 Thread David Cantrell

On Thu, Jan 11, 2001 at 11:58:36PM +, Greg McCarroll wrote:

 so as far as i see it - we have the following projects to be carried out
 by london.pm and others ...
 
 Caml (i'll leave that typo as it might get mjd excited) Visit  - David Cross
 Completion of account creation for initial donators, 
  establishment of a administration committee and setting
  criteria for new donators - Jo + D.Cross
 The Mod Perl Evangelist Site   - Dave Hodge..
 The Final YAPC::Europe 2000 Site   - me + LB + JP

Also:

  T-shirts   - DAV-R-CAN

-- 
David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david

  Any technology distinguishable from magic is insufficiently advanced



Re: XML::Schema, YAPC::Europe, mod_perl, Camel Visit, !RANT!

2001-01-12 Thread David Hodgkinson

David Cantrell [EMAIL PROTECTED] writes:

  The Mod Perl Evangelist Site   - Dave Hodge..

No. I'm writing a poor man's intro to stapling the TT into a mod_perl
handler that will be superceded by Apache::Template when Andy finishes
it.

-- 
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star   http://www.deep-purple.com
  Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
  -



Re: XML::Schema, YAPC::Europe, mod_perl, Camel Visit, !RANT!

2001-01-12 Thread David Hodgkinson

David Hodgkinson [EMAIL PROTECTED] writes:

 David Cantrell [EMAIL PROTECTED] writes:
 
   The Mod Perl Evangelist Site   - Dave Hodge..
 
 No. I'm writing a poor man's intro to stapling the TT into a mod_perl
 handler that will be superceded by Apache::Template when Andy finishes
 it.

...to go on Matt's site...

-- 
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star   http://www.deep-purple.com
  Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
  -



Re: XML::Schema, YAPC::Europe, mod_perl, Camel Visit, !RANT!

2001-01-12 Thread Greg Cope

David Hodgkinson wrote:
 
 David Cantrell [EMAIL PROTECTED] writes:
 
   The Mod Perl Evangelist Site   - Dave Hodge..
 
 No. I'm writing a poor man's intro to stapling the TT into a mod_perl
 handler that will be superceded by Apache::Template when Andy finishes
 it.

What's this ?

or rather:

Is this for take23 ?
Is such a thing as Apache::Template being done or is it a pipedream [TM]
?
If Apache::Template is real - where can I find out more ?

Greg

 
 --
 Dave Hodgkinson, http://www.hodgkinson.org
 Editor-in-chief, The Highway Star   http://www.deep-purple.com
   Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
   -



Re: XML::Schema, YAPC::Europe, mod_perl, Camel Visit, !RANT!

2001-01-12 Thread Andy Wardley

On Jan 12,  3:57pm, Greg Cope wrote:
 Is such a thing as Apache::Template being done or is it a pipedream [TM]

No, it's real, just not officially finished or released.  Someone sent
me some new code for it which I'll be intergrating and releasing in the
next week or so.


A

-- 
Andy Wardley [EMAIL PROTECTED]   Signature regenerating.  Please remain seated.
 [EMAIL PROTECTED]   For a good time: http://www.kfs.org/~abw/



Re: XML::Schema, YAPC::Europe, mod_perl, Camel Visit, !RANT!

2001-01-12 Thread Greg Cope

Andy Wardley wrote:
 
 On Jan 12,  3:57pm, Greg Cope wrote:
  Is such a thing as Apache::Template being done or is it a pipedream [TM]
 
 No, it's real, just not officially finished or released.  Someone sent
 me some new code for it which I'll be intergrating and releasing in the
 next week or so.

Thanks

Look forward to it.

Greg

 
 A
 
 --
 Andy Wardley [EMAIL PROTECTED]   Signature regenerating.  Please remain seated.
  [EMAIL PROTECTED]   For a good time: http://www.kfs.org/~abw/



XML::Schema, YAPC::Europe, mod_perl, Camel Visit, !RANT!

2001-01-11 Thread Greg McCarroll

* David Hodgkinson ([EMAIL PROTECTED]) wrote:
 "David H. Adler" [EMAIL PROTECTED] writes:
 
  On Thu, Jan 11, 2001 at 02:07:20PM +, Andy Wardley wrote:
  
   In all fairness, I have to say that mailman is an *excellent* mailing
   list manager.
  
  So why haven't you reimplemented it in perl?  :)
 
 As an XML and perl based application server?
 

don't you go thinking about that Dave, your pencilled in to delivering
this mod_perl solutions website you spoke about perviously ;-)

it seems to me at the last technical meeting we had a lot of enthusiasm
for this, and i'd guess we'll have a lot of enthusiasm for the XML::Schema
stuff this time - what we need to do is to form SIG's of london.pm to
drive these project forward

so as far as i see it - we have the following projects to be carried out
by london.pm and others ...

Caml (i'll leave that typo as it might get mjd excited) Visit  - David Cross
Completion of account creation for initial donators, 
 establishment of a administration committee and setting
 criteria for new donators - Jo + D.Cross
The Mod Perl Evangelist Site   - Dave Hodge..
The Final YAPC::Europe 2000 Site   - me + LB + JP

i'm pretty sure that these are the tasks we have at the minute as a 
group/community

time_out

ok the above seem's pretty anal but i get the feeling we need to 
add a bit of `` `` project management '' '' [1] to the group for 
the benefit of Perl - and this is a subject i'd love to see a
thread on

/time_out

ok yes i know, this is whole mail has probably been purely been caused by
my lower alchohol levels for january, but i can't help it - goddamnit i
love perl and i love london.pm and i want london.pm to work to help perl

-greg

[1] double double quotes to indicate how much removed this is from the 
crap some of us suffer at work

-- 
Greg McCarroll  http://www.mccarroll.uklinux.net



Re: XML::Schema, YAPC::Europe, mod_perl, Camel Visit, !RANT!

2001-01-11 Thread Neil Ford

[snip]

so as far as i see it - we have the following projects to be carried out
by london.pm and others ...

Caml (i'll leave that typo as it might get mjd excited) Visit  - David Cross
Completion of account creation for initial donators,
  establishment of a administration committee and setting
  criteria for new donators - Jo + D.Cross
The Mod Perl Evangelist Site   - Dave Hodge..
The Final YAPC::Europe 2000 Site   - me + LB + JP

So you won't be needing Natalie's help with the website then? Someone 
perhaps ought to tell her before she does much more work trying to 
get the schedules together.

Neil.
-- 
Neil C. Ford
[EMAIL PROTECTED]
http://www.binky.ourshack.org



RE: Much Coolness XML Wise.

2001-01-09 Thread Jonathan Peterson


 How does the output compare to XML::Simple::XMLout() ?


I found XML::Simple::XMLout() to be deeply yucky, as it kind of randomly
chooses to go for sub elements or attributes based on phases of the moon*.
Also, it will happily output invalid XML if you have invalid data in your
datastructure. Also it dies if given recursive structures. And it doesn't do
binary data.

I've found XML::Writer to be OK, although it doesn't do an 'export this data
structure as XML' thing. You could use it write your own though. Or use
XML::Dumper, I guess.



*Something like all single nested items are made into attributes, or, if you
prefer, nothing is made into attributes. Ick.