Re: Preparsing XML Schema data types in Xerces-J

2004-03-19 Thread Henry Miller
My code made you cringe, didn't it? I'll spare you the rest of it then... :-) Thanks for the tip, that cleaned it up a lot. I'm still new to Java and Xerces-J, it would have taken me a long time to make the connection that getName() would return a type value. That's what I get for being self-tau

Re: Preparsing XML Schema data types in Xerces-J

2004-03-17 Thread Henry Miller
nstrained = true; } } } => Cheers, -- Geoff Granum [EMAIL PROTECTED] Aeronautical & Astronautical Engineering, Purdue University West Lafayette, Indiana On Mon, 15 Mar 2004 13:53:04 -0600, Henry Miller <[EMAIL PROTECTED]> wrote: Another one from the

Re: Preparsing XML Schema data types in Xerces-J

2004-03-16 Thread Henry Miller
tails Thanks, -- Elena Litani / IBM Toronto Henry Miller <[EMAIL PROTECTED]> wrote on 03/15/2004 02:53:04 PM: Another one from the "yet another newbie question" department... I'm trying to preparse XML schema files and I've hit a snag that I just cannot figure out on my

Preparsing XML Schema data types in Xerces-J

2004-03-15 Thread Henry Miller
Another one from the "yet another newbie question" department... I'm trying to preparse XML schema files and I've hit a snag that I just cannot figure out on my own. Using Xerces-J, I'm able to get all the information out, except the element's data type. In fact, all I can get is the element nam

Looking for suggestions re: version and encoding values

2004-02-13 Thread Henry Miller
This is probably way too broad a question, but I'm desperate for words, if not just desperate. ;-) I'm trying to get a preparser together to pull in all DTD or XSD information into an application I'm writing... The thing is, I'm getting all the "normal" data just fine (i.e. ELEMENTs, attribute

Re: XMLGrammarPreparser question

2003-09-12 Thread Henry Miller
pl.dtd.XMLDTDLoader.loadGrammar(XMLDTDLoader.java :392) at org.apache.xerces.parsers.XMLGrammarPreparser.preparseGrammar(XMLGram marPreparser.java:244) at xni.XMLGrammarBuilder.main(XMLGrammarBuilder.java:271) Regards, Jeffrey Rodriguez Silicon Valley -- --Henry Mill

Re: XMLGrammarPreparser question

2003-09-11 Thread Henry Miller
reparser, shouldn't the Xerces parse process automatically resolve external entities About your question. yes it should. So if your DTD is fine, how are you declaring external entities in your DTD? I am a little confuse about your statement but I have not seen your DTD. Regards,

XMLGrammarPreparser question

2003-09-11 Thread Henry Miller
at org.apache.xerces.parsers.XMLGrammarPreparser.preparseGrammar(Unknown Source) at com.eti.rs.xml.XMLParser.main(Unknown Source) Clearly the preparser stopped before any of my code starts. So what did I forget to tell the preparser? Or is this really a bug? Any reply is more than I ha