|
Access methods is not generated in making XML object from the XML file usin: msg#00002java.enhydra.xmlc
Hello All. I am trying to XML Objects by XMLC from some XML documents. Compiles from XML to Java source passes easily and access methods are generated normally. However in the case of XML document with using namespace no access method is generated although some id attributes are set in the elements. for instance, in the case of following XML document ----------------------------------------------------------------------------------------------- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xupdate:modifications SYSTEM "xupdate.dtd"> <xupdate:modifications version="1.0" xmlns:xu="http://www.xmldb.org/xupdate"> <xupdate:insert-after id="insertDateCommand" select="document"> <xupdate:element id="updateDate" name="update_date">123456789</xupdate:element> </xupdate:insert-after> <xupdate:update id="updateMail" select="document">hattori@xxxxxxxxxxxxxxxxxx</xupdate:update> </xupdate:modifications> ----------------------------------------------------------------------------------------------- and -dump and -methods options output is ----------------------------------------------------------------------------------------------- Element IDs: Document URLs: DOM hierarchy: LazyDocument%[T]: LazyDocumentType: name=xupdate:modifications LazyElementNS: NS=http://www.xmldb.org/xupdate: xupdate:modifications: version="1.0" xmlns:xu="http://www.xmldb.org/xupdate" LazyElementNS: NS=http://www.xmldb.org/xupdate: xupdate:insert-after: id="insertDateCommand" select="document" LazyElementNS: NS=http://www.xmldb.org/xupdate: xupdate:element: id="updateDate" name="update_date" LazyText: 123456789 LazyElementNS: NS=http://www.xmldb.org/xupdate: xupdate:update: id="updateMail" select="document" LazyText: hattori@xxxxxxxxxxxxxxxxxx ----------------------------------------------------------------------------------------------- please teach me how to generate access methods in the case. my enviroment is following: OS: Windows 2000 JDK: JDK 1.4.1_02 Enhydra: 5.1beta8 XMLC: 2.1 Alpha compile option is -generate both -parser xerces -validate true -domfactory org.enhydra.xml.xmlc.dom.lazydom.LazyDomFactory *********************************************** Ryuji Hattori in Hitz Technical Lab ( hattori@xxxxxxxxxxxxxxxxxx )
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | XMLC tutorial for download, "François LETELLIER (ObjectWeb)" |
|---|---|
| Next by Date: | Re: XMLC tutorial for download, Jacob Kjome |
| Previous by Thread: | XMLC tutorial for download, "François LETELLIER (ObjectWeb)" |
| Next by Thread: | XMLC 2.2 RC 1, David Li |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |