Re: Double Semicolon in generated Code

David Corbin <[email protected]> Thu, 30 Oct 2003 07:35:51 -0500
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
On Thursday 30 October 2003 03:25, Daniel Potysch wrote:
> Hi,
>
> > Are you saying that the serialized output from XMLC contains a "double
> > semicolon" which xDoclet fails to parse? What does the markup look
> > like? What does the output look like? What you've provided doesn't tell
> > us much about what your problem might be. You'll have to provide some
> > more info. BTW, you might want to include any attachments in a single zip
> > file which you attach to the email. This will keep email clients from
> > mangling the text and markup.
>
> I attached one example for that semicolon problem to this mail. It contains
> one simple login page but I have this problem with all my pages. You can
> see the issue at line 119 in the Java file:
>
> private static final org.enhydra.xml.xmlc.dom.XMLCDomFactory fDOMFactory =
> org.enhydra.xml.xmlc.dom.XMLCDomFactoryCache.getFactory(org.enhydra.xml.xml
>c.dom.lazydom.LazyHTMLDomFactory.class);;
>
> I also attached the batch file that I used to generate the code and the
> HTML Original. The fact that I have this problem with every page of my
> project seems to make an error in the HTML unplausible.
>
> Any idea?

FWIW, although 'wrong', many Java compilers accept the double semi-colon, so 
it's an easy enough mistake for XML to make and get past "QA".   It shouldn't 
be hard to patch the code generator, I wouldn't think.

>
> thanks,
> Daniel