|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Enum vs String??In my xsd, I have some string wtih enumeration restriction. For example:
<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns="http://myTarget" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://myTarget" attributeFormDefault="unqualified" elementFormDefault="qualified" version="1.0"> <xs:simpleType name="bookingPoolName"> <xs:restriction base="xs:string"> <xs:enumeration value="EU-MIA.BB.Service.Subpool" /> <xs:enumeration value="MIA.BB.AS3301.Service.Subpool"/> </xs:restriction> </xs:simpleType> </xs:schema> In Java, I would like this object to only be considered as a string and not as an enum. Is it possible to do it via xsdconfig? |
|
|
|
|
|
RE: Enum vs String??In fact I do not want to have my enumeration hard-coded in the java files. Otherwise each time a new enumeration will be added I would need to recreate the java classes.
|
|
|
|
|
|
RE: File size of the xml fileThe only limitations I've seen come from the JVM, you can adjust them
with settings like: -Xms512m -Xmx1024m Are you seeing something different? -Jacobd -----Original Message----- From: Ghoshdastidar, Rabi [mailto:rabi.ghoshdastidar@...] Sent: Wednesday, July 12, 2006 11:17 AM To: user@... Subject: RE: File size of the xml file Folks, I was trying to parse large (3 MB) xml files by xmlbean. Do anybody knows whether there is any limitation on xmlbeans, how large a file that can be parsed !! Thanks Rabi --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
| Free embeddable forum powered by Nabble | Forum Help |