[jdom-interest] JDOM error

Paul Madsen paul.madsen at coventus.com
Wed Oct 4 07:19:30 PDT 2000


I'm trying to parse a document with element names containing '.'s.

They are unrelated to namespaces, I won't defend their use (to label the elements
with version information), but unfortunately I don't control the DTD.

thanks

philip.nelson at omniresources.com wrote:

> > I'm getting an error 'The name "v1.Customer" is not legal for JDOM/XML
> > elements: . is not allowed in XML names.'
> >
>
> Are you using this name in a doc that's parsed or one you are creating with
> the api?  If the latter, check out Attribute's constructors.  There are
> alternate constructors when you use namepace prefixes.  The prefix and name
> are separate.
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

--
Paul Madsen
XML eCommerce Developer
Coventus Intuitive Networks
340 Terry Fox Drive, Kanata, On, Ca
K2K 3A2
e) paul.madsen at coventus.com
p) (613) 271-0180 x296





More information about the jdom-interest mailing list