[wpkg-users] WPKG Support
Keith Jones
K.E.Jones at brighton.ac.uk
Sat Mar 21 22:19:20 CET 2015
Oh and I forgot....
> -----Original Message-----
> From: Keith Jones
> Sent: 21 March 2015 20:55
> To: 'Stefan Pendl'; wpkg-users at lists.wpkg.org
> Subject: RE: [wpkg-users] WPKG Support
>
> Hi,
>
> > -----Original Message-----
> > From: wpkg-users [mailto:wpkg-users-bounces at lists.wpkg.org] On Behalf
> > Of Stefan Pendl
> > Sent: 20 March 2015 00:54
> > To: wpkg-users at lists.wpkg.org
> > Subject: Re: [wpkg-users] WPKG Support
> >
> > Am 19.03.2015 um 16:34 schrieb Marco:
> > > Hello,
> > >
> > > some quotes are at the wrong place (variable).
> > > Maybe you should use an XML Editor, which highlights the XML structure.
> >
> > In addition, you need to remove the duplicate entries at the end.
> > Make sure to always have a starting tag and only one corresponding
> > ending tag.
> >
> >
> > --
> > Stefan P.
>
> Yep, this happens to me a lot :-)
>
> The problem will be that you have an unbalanced set of quotes
> *somewhere* in the package. I generally use single quotes to surround
> element values so I don't have to count quotes or use ".It makes it a
> lot easier to use cut and paste from DOS prompts when designing a
> package. The reason why the errors happen with the checks are simply
> because some of WPKG.JS's X-path queries are hard-coded and they can
> sometimes fail because the unbalanced quotes make the search syntax
> invalid.
>
> I have a local prototype I use to handle that and I've held off submitting it
> because it's written in a completely different style to Rainer. I'll post it
> tomorrow though, just so there's a chance he can cast his eye over it and
> cherry pick anything worth implementing.
>
> Keith
I heartily recommend Notepad++ (http://notepad-plus-plus.org/). It's a great general all-round text editor but has a great community and supports syntax highlighting for lots of languages. In particular there's an XML Tools module that can do clever XML stuff with XML (checking for validity, parsing it against a DTD, "pretty printing" it etc). The surprising thing is its extra useful at the moment because there's a bug in the pretty printing for XML. If you "pretty print" your package, the indentation will go completely wrong *exactly* after the line you have an unbalanced quotes...
I like the idea of fighting a bug with another bug. I makes me grin :-)
Keith
> >
> > Top-posting:
> > A: Because it messes up the order in which people normally read text.
> > Q: Why is top-posting such a bad thing?
> > A: Top-posting.
> > Q: What is the most annoying thing in e-mail?
> >
> > ----------------------------------------------------------------------
> > --- SSLrack - get your cheap cheap SSL certificates (standard,
> > wildcard, EV) http://www.sslrack.com/
> > ----------------------------------------------------------------------
> > --- wpkg-users mailing list archives >>
> > http://lists.wpkg.org/pipermail/wpkg-
> > users/
> > _______________________________________________
> > wpkg-users mailing list
> > wpkg-users at lists.wpkg.org
> > https://lists.wpkg.org/mailman/listinfo/wpkg-users
> >
> > ___________________________________________________________
> > This email has been scanned by MessageLabs' Email Security System on
> > behalf of the University of Brighton.
> > For more information see http://www.brighton.ac.uk/is/spam/
> > ___________________________________________________________
___________________________________________________________
This email has been scanned by MessageLabs' Email Security
System on behalf of the University of Brighton.
For more information see http://www.brighton.ac.uk/is/spam/
___________________________________________________________
More information about the wpkg-users
mailing list