hi,
    Does castor generator support " import"? I have an attached xml
schame.
    I got some errors message when I used castor generate java source
as follows:

    anyone has ideas?

wei

>>>>

C:\111test>java org.exolab.castor.builder.SourceGenerator -i
OrderableItemType.x
sd -package com.xyz
org.xml.sax.SAXException: 'namespace' attribute missing on 'import'
        at
org.exolab.castor.xml.schema.reader.ImportUnmarshaller.<init>(ImportU
nmarshaller.java:111)
        at
org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.startElement(S
chemaUnmarshaller.java:387)
        at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1340)

        at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XML
Validator.java:1284)
        at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumen
tScanner.java:1806)
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(XMLDocumentScanner.java:1182)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java:381)
        at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
        at
org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenera
tor.java:388)
        at
org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenera
tor.java:441)
        at
org.exolab.castor.builder.SourceGenerator.main(SourceGenerator.java:6
65)

C:\111test>java org.exolab.castor.builder.SourceGenerator -i
OrderableItemType.x
sd -package com.xyz
org.xml.sax.SAXException: 'namespace' attribute missing on 'import'
        at
org.exolab.castor.xml.schema.reader.ImportUnmarshaller.<init>(ImportU
nmarshaller.java:111)
        at
org.exolab.castor.xml.schema.reader.SchemaUnmarshaller.startElement(S
chemaUnmarshaller.java:387)
        at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1340)

        at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XML
Validator.java:1284)
        at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumen
tScanner.java:1806)
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(XMLDocumentScanner.java:1182)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java:381)
        at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
        at
org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenera
tor.java:388)
        at
org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenera
tor.java:441)
        at
org.exolab.castor.builder.SourceGenerator.main(SourceGenerator.java:6
65)

Orderable item concept. Orderable items are defined as orders that would represent more defined analogs of the base order concept. These analogs are clinically significant; i.e., they represent different orders that would be presented to the ordering clinician and therefore, represent choices that the clinicians would make. This level is the orderable item level; i.e., all ordering takes place on this level, not the base order concept level. (aka, XSERVI) Set of attributes that fully-specify this orderable item. Group of attributes that establish the processing behavior of this orderable item in a given set of contexts. Contexts where the orderable item is available (or not) for use. Links between the orderable items and other elements and objects

Reply via email to