You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/02/13 04:16:38 UTC

DO NOT REPLY [Bug 6416] - ASBuilder Fails

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6416>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6416

ASBuilder Fails





------- Additional Comments From JSPITZER@JBWERE.COM.AU  2002-02-13 03:16 -------
When not compiled with JBuilder4 but run from the command line with the Sample 
Jars it does not fail viz:
C:\>C:\JBuilder4\jdk1.3\bin\java -classpath "C:\XML\xerces-2_0_0
\xercesImpl.jar;C:\XML\xerces-2_0_0\xmlParserAPIs.jar;C:\XML\xerces-2_0_0
\xercesSamples.jar"  dom.ASBuilder -a  U:\X
ML_XSL_DTD_VOB\Portfolio\\Portfolio.xsd -i  C:\Testing\Simulator\TestSchema.xml
[Error] TestSchema.xml:7:31: cvc-complex-type.2.4.a: Invalid content starting 
with element 'LIONAccountAddressDetails'. The content must 
match '(((((((((((((((((("":PortfolioType),
(("":LIONAccountID),("":LIONAccountShortName)){0-1}),
((((("":LIONNameAddressDetails),("":AdviserInitials)),("":AdviserName)),
("":AdviserTitle)),("":AdviserPhoneNo)){0-1}),(((((((("
":TotalMarketValue),("":TotalCost)),("":TotalIncome)),
("":TotalAppreciationAmount)),("":AverageYield)),("":AverageFranking)),
("":PercentOfPortfolioByCost)),("":PercentOfPortfolioBy
Value))),("":LedgerBalance)),("":NetPortfolioValue)),("":AssetClass){0-1}),
("":AssetClass){0-1}),("":AssetClass){0-1}),("":AssetClass){0-1}),
("":AssetClass){0-1}),("":RegionSummary
){0-2}),("":DomesticEquityWeighting){0-1}),("":AccountPortfolioSummary){0-
UNBOUNDED}),("":SummaryCashFlow){0-1}),("":FixedInterestMaturity){0-1}),
("":Disclosures){0-1}){0-1},(("":E
rrorCode),("":ErrorDescription)){0-1})'.
[Error] TestSchema.xml:202:42: cvc-attribute.3: The value 'FIXEDINT' of 
attribute 'AssetClassCode' on element 'AssetClass' is not valid with respect to 
its type.
[Error] TestSchema.xml:232:55: cvc-complex-type.2.4.a: Invalid content starting 
with element 'Classification'. The content must match '(((("":CategoryName),
(((((((("":TotalMarketVa
lue),("":TotalCost)),("":TotalIncome)),("":TotalAppreciationAmount)),
("":AverageYield)),("":AverageFranking)),("":PercentOfPortfolioByCost)),
("":PercentOfPortfolioByValue))),("":In
vestment){0-UNBOUNDED}),("":AccountPortfolioSummary){0-UNBOUNDED})'.
[Error] TestSchema.xml:349:54: cvc-complex-type.2.4.a: Invalid content starting 
with element 'Classification'. The content must match '(((("":CategoryName),
(((((((("":TotalMarketVa
lue),("":TotalCost)),("":TotalIncome)),("":TotalAppreciationAmount)),
("":AverageYield)),("":AverageFranking)),("":PercentOfPortfolioByCost)),
("":PercentOfPortfolioByValue))),("":In
vestment){0-UNBOUNDED}),("":AccountPortfolioSummary){0-UNBOUNDED})'.
[Error] TestSchema.xml:399:40: cvc-attribute.3: The value 'EQUITY' of 
attribute 'AssetClassCode' on element 'AssetClass' is not valid with respect to 
its type.
[Error] TestSchema.xml:429:54: cvc-complex-type.2.4.a: Invalid content starting 
with element 'Classification'. The content must match '(((("":CategoryName),
(((((((("":TotalMarketVa
lue),("":TotalCost)),("":TotalIncome)),("":TotalAppreciationAmount)),
("":AverageYield)),("":AverageFranking)),("":PercentOfPortfolioByCost)),
("":PercentOfPortfolioByValue))),("":In
vestment){0-UNBOUNDED}),("":AccountPortfolioSummary){0-UNBOUNDED})'.

Why is the pre-compiled Sample working when the recompiled version does not?

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org